Esempio n. 1
0
 private Vector3 GetNextWayPoint()
 {
     return(patrolPath.GetNextWayPoint(currentWaypointIndex));
 }
Esempio n. 2
0
 private void SpawnEnemyAtInitPath()
 {
     transform.position = patrolPath.GetNextWayPoint();
 }