Exemplo n.º 1
0
 protected virtual void Awake()
 {
     stateMachine = GetComponent <TurretStateMachine>();
     stateMachine.StateChannel.Subscribe(this);
     enabled = false;
 }
Exemplo n.º 2
0
 protected override void Awake()
 {
     stateMachine = GetComponent <TurretStateMachine>();
     stateMachine.StateChannel.Subscribe(this);
     base.Awake();
 }