public void Dispose() { if (Frame != null) { Frame.DisposeAll(); } if (ItemDisplay != null) { ItemDisplay.DisposeVao(); } if (SelectedDisplay != null) { SelectedDisplay.DisposeAll(); } if (HotbarFrame != null) { HotbarFrame.DisposeAll(); } if (HotbarItemDisplay != null) { HotbarItemDisplay.DisposeAll(); } if (HotbarSelectedDisplay != null) { HotbarSelectedDisplay.DisposeAll(); } }
internal void Dispose() { text.Dispose(); model.DisposeAll(); }