/// <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); }
/// <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); }
/// <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]; }