/// <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; } }
public void SetWaypointGroup(WaypointsGroup wpg) { wpGroup = wpg; }