예제 #1
0
 /// <summary>
 /// Setup the list of positions to follow
 /// </summary>
 /// <param name="positionsList">List of Vector3s indicating move-to locations</param>
 public void SetWaypointsGroup(WaypointsGroup newGroup)
 {
     Waypoints     = newGroup;
     waypointsList = null;
     if (newGroup != null)
     {
         waypointsList = newGroup.waypoints;
     }
 }
예제 #2
0
 public void SetWaypointGroup(WaypointsGroup wpg)
 {
     wpGroup = wpg;
 }