8 ref ScriptInvoker m_OnCloseStarted =
new ScriptInvoker();
11 ref ScriptInvoker m_OnCloseFinished =
new ScriptInvoker();
25 loadingOverlay.Init(text);
26 return loadingOverlay;
31 void CloseAnimated(
bool invokeOnCloseStarted =
true)
33 if (invokeOnCloseStarted)
34 m_OnCloseStarted.Invoke();
50 override void OnMenuOpen()
57 GetGame().GetInputManager().AddActionListener(
"MenuBack", EActionTrigger.DOWN, Callback_OnBackButton);
66 override void OnMenuClose()
70 GetGame().GetInputManager().RemoveActionListener(
"MenuBack", EActionTrigger.DOWN, Callback_OnBackButton);
72 m_OnCloseFinished.Invoke();
77 protected void Init(
string text)
84 protected void Callback_OnBackButton()