Beispiel #1
0
 void OnDestroy()
 {
     if (_sort != null)
     {
         _sort.Dispose();
     }
     if (_keys != null)
     {
         _keys.Dispose();
     }
     if (_values != null)
     {
         _values.Dispose();
     }
 }
Beispiel #2
0
 public void Dispose()
 {
     if (_sort != null)
     {
         _sort.Dispose();
     }
     if (Keys != null)
     {
         Keys.Dispose();
     }
     if (_ys != null)
     {
         _ys.Dispose();
     }
     if (Bands != null)
     {
         Bands.Dispose();
     }
 }
Beispiel #3
0
 public void Dispose()
 {
     if (_sort != null)
     {
         _sort.Dispose();
     }
     if (_keys != null)
     {
         _keys.Dispose();
     }
     if (_hashes != null)
     {
         _hashes.Dispose();
     }
     if (_grid != null)
     {
         _grid.Dispose();
     }
     if (Collisions != null)
     {
         Collisions.Dispose();
     }
 }