Example #1
0
 private void UpdatePatrolPoint()
 {
     patrolPointIndex  = patrolPath.UpdatePatrolPointIndex(patrolPointIndex);
     patrolPointToGoTo = patrolPath.NextPatrolPoint(patrolPointIndex);
     UpdateEnemyOrientation(patrolPointToGoTo.position);
 }