/// <summary> /// 开始双人游戏 /// </summary> /// <param name="args"></param> void OnTwoPlay(params object[] args) { L_Data data = MenuData.CreatChildData("PlayType", "TowPlayers"); L_Root.ChangeState(GameState.GS_Play); }
/// <summary> /// 开始多人游戏(查找) /// </summary> /// <param name="args"></param> void OnMultiplayer(params object[] args) { L_Data data = MenuData.CreatChildData("PlayType", "Mulitiplayer"); L_Root.ChangeState(GameState.GS_Play); }
/// <summary> /// 返回主界面 /// </summary> void OnPlayBack(params object[] args) { L_Root.ChangeState(GameState.GS_Menu); }