Пример #1
0
    /// <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();
    }
Пример #2
0
    /* Setter & Getter */

    /* Functions */

    private void Awake()
    {
        instance = this;
    }