4 override bool IsServer()
8 override bool CanBeShown(
SCR_EditableEntityComponent hoveredEntity, notnull set<SCR_EditableEntityComponent> selectedEntities, vector cursorWorldPosition,
int flags)
10 return hoveredEntity && !hoveredEntity.HasEntityFlag(
EEditableEntityFlag.NON_INTERACTIVE) && !selectedEntities.IsEmpty();
13 override bool CanBePerformed(
SCR_EditableEntityComponent hoveredEntity, notnull set<SCR_EditableEntityComponent> selectedEntities, vector cursorWorldPosition,
int flags)
15 return hoveredEntity && !hoveredEntity.HasEntityFlag(
EEditableEntityFlag.NON_INTERACTIVE) && !selectedEntities.IsEmpty();
18 override void Perform(
SCR_EditableEntityComponent hoveredEntity, notnull set<SCR_EditableEntityComponent> selectedEntities, vector cursorWorldPosition,
int flags,
int param = -1)
20 if (DidCursorMoveDuringDoubleClick())
23 SCR_AttributesManagerEditorComponent attributesManager = SCR_AttributesManagerEditorComponent.Cast(SCR_AttributesManagerEditorComponent.GetInstance(SCR_AttributesManagerEditorComponent));
24 if (attributesManager)
26 array<Managed> editedEntities =
new array<Managed>;
28 attributesManager.StartEditing(editedEntities);