public StartScene(SceneStateController theController) : base(theController) { //设置本场景状态名 this.MSceneName = "StartScene"; }
//建造者 public ISceneState(SceneStateController theController) { m_Controller = theController; }
public BattleScene(SceneStateController theController) : base(theController) { this.MSceneName = "BattleScene"; }
public MainMenuScene(SceneStateController theController) : base(theController) { //设置本场景状态名 this.MSceneName = "MainMenuScene"; }