public virtual void Set(RegionCore region) { this.Region = region; icon.sprite = region.Icon; UpdateState(); }
public virtual void Set(RegionCore data) { this.Region = data; Levels.Set(data); UpdateState(); Show(); }
public virtual void Set(RegionCore region) { Clear(); for (int i = 0; i < region.Size; i++) { var instance = Create(region[i], i); Templates.Add(instance); } }
public int IndexOf(RegionCore region) { for (int i = 0; i < regions.Length; i++) { if (regions[i] == region) { return(i); } } throw new ArgumentException(); }
public virtual void Set(RegionCore region) { this.Region = region; }
public void Set(RegionCore region) { this.Region = region; this.Index = region.IndexOf(this); }