9 protected void OnEditorPing(
float value, EActionTrigger reason)
15 protected void OnEditorPingUnlimitedOnly(
float value, EActionTrigger reason)
21 protected void SendPing(
bool unlimitedOnly)
27 if (!cursorComponent.GetCursorWorldPos(
position))
35 m_PingManager.SendPing(unlimitedOnly,
position, target);
39 override void HandlerAttachedScripted(Widget w)
47 InputManager inputManager =
GetGame().GetInputManager();
50 inputManager.AddActionListener(
"EditorPing", EActionTrigger.DOWN, OnEditorPing);
51 inputManager.AddActionListener(
"EditorPingUnlimitedOnly", EActionTrigger.DOWN, OnEditorPingUnlimitedOnly);
56 override void HandlerDeattached(Widget w)
58 super.HandlerDeattached(w);
60 InputManager inputManager =
GetGame().GetInputManager();
63 inputManager.RemoveActionListener(
"EditorPing", EActionTrigger.DOWN, OnEditorPing);
64 inputManager.RemoveActionListener(
"EditorPingUnlimitedOnly", EActionTrigger.DOWN, OnEditorPingUnlimitedOnly);