public void Dispose() { Assert.That(!_hasDisposed); _hasDisposed = true; GameObject.Destroy(_hooks); _hooks = null; }
public Hex(HexHooks hooks, Settings settings) : base(0, 0) { ISPassable = true; _hooks = hooks; _settings = settings; _hasDisposed = false; }