public MainSceneState(ISceneStateController controller) : base("Main", controller)
 {
 }
Example #2
0
 private void Awake()
 {
     DontDestroyOnLoad(this);
     m_SceneStateController = new SceneStateController();
     UnityEngine.Random.InitState((int)DateTime.Now.Ticks);
 }
 public ISceneState(string name, ISceneStateController controller)
 {
     this.StateName       = name;
     this.StateController = controller;
 }
 public LoadingSceneState(ISceneStateController controller) : base("Loading", controller)
 {
 }
 public StartSceneState(ISceneStateController controller) : base("Start", controller)
 {
 }
 public BattleSceneState(ISceneStateController controller, IBattleManager battleManager) : base("Battle", controller)
 {
     gameBattleManager = battleManager;
 }
 public LoginSceneState(ISceneStateController controller) : base("Login", controller)
 {
 }