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