Пример #1
0
 /// <summary>Reads a TMX file to create a reloadable asset bundle.</summary>
 /// <param name="filename">A full path name of a TMX file.</param>
 /// <param name="filterindex_UNUSED">Ignored.</param>
 /// <returns>An asset bundle.</returns>
 public IAssetBundle Read(string filename, int filterindex_UNUSED)
 {
     return(LoaderAssetBundle.Create(
                ReaderManager.FriendlyFilename(filename),
                () => ReadAssets(filename)));
 }
Пример #2
0
 public IAssetBundle Read(string filename, Flavour flavour = Flavour.Auto)
 {
     return(LoaderAssetBundle.Create(
                ReaderManager.FriendlyFilename(filename),
                () => ReadAssets(filename, flavour)));
 }