4 override bool IsServer()
9 override bool CanBeShown(
SCR_EditableEntityComponent hoveredEntity, notnull set<SCR_EditableEntityComponent> selectedEntities, vector cursorWorldPosition,
int flags)
11 if (!Replication.IsRunning())
19 if (!respawnComponent)
27 return !editorManager.IsLimited();
29 override bool CanBePerformed(
SCR_EditableEntityComponent hoveredEntity, notnull set<SCR_EditableEntityComponent> selectedEntities, vector cursorWorldPosition,
int flags)
31 if (!Replication.IsRunning())
40 override void Perform(
SCR_EditableEntityComponent hoveredEntity, notnull set<SCR_EditableEntityComponent> selectedEntities, vector cursorWorldPosition,
int flags,
int param = -1)
46 PlayerID = playerController.GetPlayerId();
52 if (editorManager.IsLimited())
56 if (!respawnComponent)
59 SCR_AttributesManagerEditorComponent attributeManager = SCR_AttributesManagerEditorComponent.Cast(SCR_AttributesManagerEditorComponent.GetInstance(SCR_AttributesManagerEditorComponent));
60 if (!attributeManager)
67 attributeManager.StartEditing(respawnComponent);