public void UpdateRegion() { if (region != null) { region.Unregister(); } if (this.Map != null) { if (this != null && this.RegionArea != null && this.RegionArea.Length > 0) { region = new SigilRegion(RegionName, this.Map, 255, RegionArea); region.Register(); } } }
public void UpdateRegion() { if (region != null) region.Unregister(); if (this.Map != null) { if (this != null && this.RegionArea != null && this.RegionArea.Length > 0) { region = new SigilRegion(RegionName, this.Map, 255, RegionArea); region.Register(); } } }