Example #1
0
 public void Init()
 {
     EventList = new List <string> {
         EventCenter.PlayerGetHit
     };
     MainFsm.StateChange(gameObject.AddComponent <PlayerNormalState>());
 }
Example #2
0
 public InitState(MainFsm parent)
     : base(parent)
 {
     this.parent = parent;
 }
Example #3
0
 void Start()
 {
     Locator.CreateInstance();
     Locator.BuildMembers(this, GameObjectManager, UIManager);
     _mainFsm = new MainFsm();
 }
Example #4
0
 public void Init()
 {
     MainFsm.StateChange(gameObject.AddComponent <EnemyNormalState>());
 }