/// <summary> /// Create the default asset loader which loads the engine assembly, the game assembly, the setup calling assembly, and the /// file system. /// Duplicate assemblies are not loaded. /// </summary> /// <returns>The default asset loader.</returns> private static AssetLoader LoadDefaultAssetLoader() { var loader = new AssetLoader(); // Create sources. for (var i = 0; i < Helpers.AssociatedAssemblies.Length; i++) { Assembly assembly = Helpers.AssociatedAssemblies[i]; loader.AddSource(new EmbeddedAssetSource(assembly, "Assets")); } return(loader); }