5 private SCR_BaseActionsEditorComponent m_EditorComponent;
6 private vector m_CursorWorldPosition;
12 super.OnPerform(user, sourceMenu);
13 m_EditorComponent.ActionPerform(m_ActionData.GetAction(), m_CursorWorldPosition, m_Flags);
26 return m_ActionData.GetCanBePerformed();
31 override bool GetEntryNameScript(out
string outName)
33 outName = m_ActionData.GetAction().GetInfo().GetName();
39 override bool GetEntryDescriptionScript(out
string outDescription)
41 outDescription = m_ActionData.GetAction().GetInfo().GetDescription();
47 override bool GetEntryIconPathScript(out
string outIconPath)
49 outIconPath = m_ActionData.GetAction().GetInfo().GetIconPath();
55 m_ActionData = actionData;
56 m_EditorComponent = component;
57 m_CursorWorldPosition = cursorWorldPosition;