//Get current waypoint and increment count private void getNextWayPoint() { wp = wpSet.Waypoints[NextWaypoint]; NextWaypoint++; if (NextWaypoint == wpSet.Waypoints.Count) { NextWaypoint = 0; } }
//Get current waypoint and increment count private void getNextWayPoint() { wp = wpSet.Waypoints[NextWaypoint]; NextWaypoint++; if (NextWaypoint == wpSet.Waypoints.Count) NextWaypoint = 0; }