Example #1
0
 //Sets patrol waypoint
 private void CyclePatrolWaypoint()
 {
     m_CurrentWaypointIndex = m_PatrolPath.GetNextWaypointIndex(m_CurrentWaypointIndex);
 }
Example #2
0
 void CycleWaipoint()
 {
     currentWaypointIndex = patrolPath.GetNextWaypointIndex(currentWaypointIndex);
 }