4 override bool CanBeShown(
SCR_EditableEntityComponent hoveredEntity, notnull set<SCR_EditableEntityComponent> selectedEntities, vector cursorWorldPosition,
int flags)
6 return hoveredEntity && hoveredEntity.GetOwner() ==
SCR_PlayerController.GetLocalMainEntity() && !hoveredEntity.IsDestroyed();
8 override bool CanBePerformed(
SCR_EditableEntityComponent hoveredEntity, notnull set<SCR_EditableEntityComponent> selectedEntities, vector cursorWorldPosition,
int flags)
10 return CanBeShown(hoveredEntity, selectedEntities, cursorWorldPosition, flags);
12 override void Perform(
SCR_EditableEntityComponent hoveredEntity, notnull set<SCR_EditableEntityComponent> selectedEntities, vector cursorWorldPosition,
int flags,
int param = -1)
16 override bool IsServer()