Exemple #1
0
    void GoToPlayMode()
    {
        GameObject  modeManagerGameObject = GameObject.Find("Mode Manager");
        ModeManager modeManager           = modeManagerGameObject.GetComponent <ModeManager> ();

        modeManager.GoToMode(Mode.Play);
    }