12 override bool CanBeShown(
SCR_EditableEntityComponent hoveredEntity, notnull set<SCR_EditableEntityComponent> selectedEntities, vector cursorWorldPosition,
int flags)
16 if (CanBeShown(entity, cursorWorldPosition, flags))
24 override bool CanBePerformed(
SCR_EditableEntityComponent hoveredEntity, notnull set<SCR_EditableEntityComponent> selectedEntities, vector cursorWorldPosition,
int flags)
28 if (CanBePerformed(entity, cursorWorldPosition, flags))
36 override void Perform(
SCR_EditableEntityComponent hoveredEntity, notnull set<SCR_EditableEntityComponent> selectedEntities, vector cursorWorldPosition,
int flags,
int param = -1)
38 if (!InitPerform())
return;
42 if (CanBePerformed(entity, cursorWorldPosition, 0))
44 Perform(entity, cursorWorldPosition);
49 override void PerformOwner(
SCR_EditableEntityComponent hoveredEntity, notnull set<SCR_EditableEntityComponent> selectedEntities, vector cursorWorldPosition,
int flags,
int param = -1)
51 if (!InitPerform())
return;
55 if (CanBePerformed(entity, cursorWorldPosition, 0))
57 PerformOwner(entity, cursorWorldPosition);