示例#1
0
 public override void Update()
 {
     //按回车键后退回到主界面
     if (Input.GetKey(KeyCode.Return))
     {
         m_FsmController.SetStateDelegate(new MainMenuSceneState(m_FsmController.sceneControllerDelegate));
     }
 }
示例#2
0
 void OnBtnExitClick()
 {
     m_FsmController.SetStateDelegate(new MainMenuSceneState(m_FsmController.sceneControllerDelegate));
 }