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