public void Dispose() { Disposing = true; InputManager.Instance.Dispose(); PointerManager.Instance.Dispose(); WidgetManager.destroyAllWrappers(); Gui_Delete(gui); }