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