void Awake() { shootScript = GetComponent <EnemyShooting>(); move = GetComponent <TMovement>(); targets = new GameObject[10]; }
void Awake() { nav = GetComponent <NavMeshAgent>(); move = GetComponent <TMovement>(); }
void Awake() { shootScript = GetComponent <EnemyShooting>(); move = GetComponent <TMovement>(); targets = new GameObject[10]; }
void Awake() { nav = GetComponent <NavMeshAgent>(); move = GetComponent <TMovement>(); }