private void Awake()
 {
     _navMeshAgent    = GetComponent <NavMeshAgent>();
     _waypointManager = GetComponentInChildren <EnemyWaypointManager>();
 }
예제 #2
0
 private void Awake()
 {
     _enemyWaypointManager = _enemyGameObject.GetComponentInChildren <EnemyWaypointManager>();
     _enemyNavMeshAgent    = _enemyGameObject.GetComponent <NavMeshAgent>();
 }