protected override void Awake() { stateMachine = GetComponent <EnemyStateMachine>(); stateMachine.StateChannel.Subscribe(this); base.Awake(); }