4 override bool IsServer()
8 override bool CanBeShown(
SCR_EditableEntityComponent hoveredEntity, notnull set<SCR_EditableEntityComponent> selectedEntities, vector cursorWorldPosition,
int flags)
12 override bool CanBePerformed(
SCR_EditableEntityComponent hoveredEntity, notnull set<SCR_EditableEntityComponent> selectedEntities, vector cursorWorldPosition,
int flags)
14 return GetGame().GetGameMode() !=
null;
16 override void Perform(
SCR_EditableEntityComponent hoveredEntity, notnull set<SCR_EditableEntityComponent> selectedEntities, vector cursorWorldPosition,
int flags,
int param = -1)
19 array<SCR_BaseEditorComponent> editorComponents = {};
20 for (
int i, count = editorModeEntity.FindEditorComponents(editorComponents); i < count; i++)
22 editorComponents[i].ResetEditorComponent();