private static void LoadContentManifests(Ultraviolet.Content.ContentManager contentManager) { var contentManifestFiles = contentManager.GetAssetFilePathsInDirectory("Manifests"); var contentManifestRegistry = contentManager.Ultraviolet.GetContent().Manifests; contentManifestRegistry.Load(contentManifestFiles); contentManifestRegistry["Global"]["Fonts"].PopulateAssetLibrary(typeof(GlobalFontId)); }
public void Initialise(Ultraviolet.Content.ContentManager contentManager) { _contentManager = contentManager; LoadContentManifests(contentManager); }