You've already forked UniversalViewer
compatibility improvements
This commit is contained in:
@@ -29,7 +29,7 @@ public class DanMachiAssetLibrary : AssetLibrary
|
||||
// ParseList(str);
|
||||
//});
|
||||
|
||||
string catalogPath = Environment.GetFolderPath(Environment.SpecialFolder.LocalApplicationData) + "Low\\aiming\\DanChro\\com.unity.addressables\\catalog_0.0.0.json";
|
||||
string catalogPath = ModelViewerSettings.Get("CatalogPath", new ModelViewerSettings.Setting(Environment.GetFolderPath(Environment.SpecialFolder.LocalApplicationData) + "Low\\aiming\\DanChro\\com.unity.addressables\\catalog_0.0.0.json", ModelViewerSettings.SettingType.FilePath));
|
||||
LocalFilesPath = ModelViewerSettings.Get("AssetsPath", new ModelViewerSettings.Setting(Environment.GetFolderPath(Environment.SpecialFolder.LocalApplicationData) + "Low\\Unity\\aiming_DanChro\\", ModelViewerSettings.SettingType.FolderPath));
|
||||
|
||||
yield return LoadAddressableCatalog(catalogPath);
|
||||
|
||||
Reference in New Issue
Block a user