void DoShowLevel()
 {
     //SceneLoading.LoadSceneName = GlobalDefine.HomeSceneName;
     //UnityEngine.SceneManagement.SceneManager.LoadSceneAsync(GlobalDefine.LoadSceneName);
     GameStateManager.Instance().FSM.ChangeState(GameStateLevel.Instance());
     Debug.Log("DoShowLevel");
 }
Exemplo n.º 2
0
 public void Message(string message, object[] parameters)
 {
     if (message.Equals("PlayGame"))
     {
         GameStateManager.Instance().FSM.ChangeState(GameStateLevel.Instance());
     }
 }