Пример #1
0
        public void SetWaypointsGroup(WayPointsGroup newGroup)
        {
            Waypoints     = newGroup;
            waypointsList = null;

            if (newGroup != null)
            {
                waypointsList = newGroup.waypoints;
            }
        }
Пример #2
0
        private void Awake()
        {
            tempobj   = GameObject.Find("WayPoint");
            Waypoints = tempobj.GetComponent <WayPointsGroup>();

            if (Waypoints != null)
            {
                waypointsList = Waypoints.waypoints;
            }
        }
Пример #3
0
 public void SetWayPointGroup(WayPointsGroup wpsg)
 {
     wpGroup = wpsg;
 }