Example #1
0
 public override void Dispose()
 {
     _inventoryComponent.Changed -= ComponentChanged;
     _inventoryContainer.Dispose();
     base.Dispose();
     GC.SuppressFinalize(this);
 }
Example #2
0
 public override void Dispose()
 {
     if (Disposing)
     {
         return;
     }
     _placementManager.PlacementCanceled -= PlacementManagerPlacementCanceled;
     _tileList.Dispose();
     base.Dispose();
 }