public override void Dispose() { if (this.IsDisposed) { return; } base.Dispose(); foreach (Chessman unit in this.myChessmans.Values) { unit.Dispose(); } this.myChessmans.Clear(); Instance = null; }
public void Awake() { Instance = this; }