12 protected SCR_BaseActionsEditorComponent m_ActionsEditorComponent;
13 protected vector m_vCursorWorldPos;
14 protected int m_iFlags;
31 string GetActionShortcut()
36 return m_Action.GetShortcut();
40 protected override void OnPerform()
42 if (!m_ActionsEditorComponent || !m_Action)
48 editorMenuLayout.GetCursorWorldPos(m_vCursorWorldPos);
51 m_ActionsEditorComponent.ActionPerform(m_Action, m_vCursorWorldPos, m_iFlags);
58 m_vCursorWorldPos = cursorPosition;
59 m_iFlags = actionFlags;
60 m_ActionsEditorComponent = actionEditorComponent;