T Load <T>(string path) { try { return(MonoContentManager.Load <T>(path)); } catch (Exception e) { throw new QMissingContentException($"{path} could not find Asset!\n" + e); } }
void Clear() { foreach (var texturesValue in Textures.Values) { ((Texture2D)texturesValue).Dispose(); } Textures.Clear(); Sounds.Clear(); Fonts.Clear(); Music.Clear(); MonoContentManager.Unload(); }