コード例 #1
0
        //Get current waypoint and increment count
        private void getNextWayPoint()
        {
            wp = wpSet.Waypoints[NextWaypoint];
            NextWaypoint++;

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

            if (NextWaypoint == wpSet.Waypoints.Count)
                NextWaypoint = 0;
        }