30 lines
529 B
C#
30 lines
529 B
C#
public class MegaSelectionMod : MegaModifier
|
|
{
|
|
public override MegaModChannel ChannelsChanged()
|
|
{
|
|
return MegaModChannel.Selection;
|
|
}
|
|
|
|
public virtual void GetSelection(MegaModifiers mc)
|
|
{
|
|
}
|
|
|
|
public override bool ModLateUpdate(MegaModContext mc)
|
|
{
|
|
GetSelection(mc.mod);
|
|
return false;
|
|
}
|
|
|
|
public override void DrawGizmo(MegaModContext context)
|
|
{
|
|
}
|
|
|
|
public override void DoWork(MegaModifiers mc, int index, int start, int end, int cores)
|
|
{
|
|
for (int i = start; i < end; i++)
|
|
{
|
|
sverts[i] = verts[i];
|
|
}
|
|
}
|
|
}
|