/// <summary> /// Do exit the game. /// </summary> public void DoExitGame() { RC_UIManager uim = RC_UIManager.instance; if (uim.EXIT_PANEL == null) { JCS_Debug.Log("No exit panel assign"); return; } uim.EXIT_PANEL.Active(); }
/* Setter & Getter */ /* Functions */ private void Awake() { instance = this; }