示例#1
0
 /// <summary>Called after ZoneInfo was created</summary>
 internal void FinalizeZone()
 {
     if (this.Creator == null)
     {
         this.Creator = new ZoneCreator(this.DefaultCreator);
     }
     if (this.ParentZoneId != ZoneId.None)
     {
         return;
     }
     this.WorldStates = WCell.Constants.World.WorldStates.GetStates(this.Id);
 }
示例#2
0
 /// <summary>Called after ZoneInfo was created</summary>
 internal void FinalizeZone()
 {
     if (Creator == null)
     {
         Creator = DefaultCreator;
     }
     if (ParentZoneId != ZoneId.None)
     {
         return;
     }
     WorldStates = WCell.Constants.World.WorldStates.GetStates(Id);
 }
示例#3
0
        /// <summary>
        /// Called after ZoneInfo was created
        /// </summary>
        internal void FinalizeZone()
        {
            if (Creator == null)
            {
                Creator = DefaultCreator;
            }

            if (ParentZoneId != ZoneId.None)
            {
                // WorldStates are currently only supported for major Zones, no sub-areas
                return;
            }

            WorldStates = Constants.World.WorldStates.GetStates(Id);
        }
 // Start is called before the first frame update
 void Start()
 {
     targetChanged = targetChangedPublic;
     zoneList      = ZoneCreator.GetZoneList(); // Gets the list of zones from ZoneCreator
     targetPoint   = zoneList[zoneNum][zoneOneNumerator];
 }