Esempio n. 1
0
 private void Awake()
 {
     ArrowParticleScript = ParticleSystem.GetComponent <ArrowParticleScript>();
     EnemyCombatManager  = GetComponent <EnemyCombatManager>();
     EnemyStateMachine   = GetComponent <EnemyStateMachine>();
     EnemyBehavior       = GetComponent <EnemyBehavior>();
 }
Esempio n. 2
0
 private void Awake()
 {
     EnemyCombatManager = GetComponent <EnemyCombatManager>();
     EnemyStateMachine  = GetComponent <EnemyStateMachine>();
     EnemyBehavior      = GetComponent <EnemyBehavior>();
 }
 private void Awake()
 {
     EnemyCombatManager = GetComponentInParent <EnemyCombatManager>();
 }