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