private void Awake() { ArrowParticleScript = ParticleSystem.GetComponent <ArrowParticleScript>(); EnemyCombatManager = GetComponent <EnemyCombatManager>(); EnemyStateMachine = GetComponent <EnemyStateMachine>(); EnemyBehavior = GetComponent <EnemyBehavior>(); }
private void Awake() { EnemyCombatManager = GetComponent <EnemyCombatManager>(); EnemyStateMachine = GetComponent <EnemyStateMachine>(); EnemyBehavior = GetComponent <EnemyBehavior>(); }
private void Awake() { EnemyCombatManager = GetComponentInParent <EnemyCombatManager>(); }