private void Awake() { saveGameEvent.AddListener(this); saveSystem = new BinarySaveSystem(); }
public virtual void Init(StateMachine stateMachine) { _stateMachine = stateMachine; stateChangeEvent.AddListener(this); }