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