5 protected ref array<string> m_aActionNames;
8 override protected void OnInitCondition(Managed owner)
10 InputManager inputManager =
GetGame().GetInputManager();
11 for (
int i, count = m_aActionNames.Count(); i < count; i++)
13 inputManager.AddActionListener(m_aActionNames[i], EActionTrigger.DOWN,
Activate);
18 override protected void OnExitCondition(Managed owner)
20 InputManager inputManager =
GetGame().GetInputManager();
21 for (
int i, count = m_aActionNames.Count(); i < count; i++)
23 inputManager.RemoveActionListener(m_aActionNames[i], EActionTrigger.DOWN,
Activate);