public void Dispose() { window.Resize -= window_Resize; window.Closing -= window_Closing; ScreenLayerManager.Dispose(); overlay.Dispose(); overlayCamera.Dispose(); InputManager.Dispose(); drawContext.Dispose(); Skin.Dispose(); DrawState.Cleanup(); }