public static bool OnBackPressed() { if (UtilMgr.IsUntouchable) { return(false); } if (mListBackEvent.Count > 0) { EventDelegate eventDel = mListBackEvent[mListBackEvent.Count - 1]; RemoveBackEvent(); eventDel.Execute(); return(true); } else { DialogueMgr.ShowExitDialogue(); return(false); } }
public void ShowExitDialog() { DialogueMgr.ShowExitDialogue(DialogClickHandler); }