compatibility improvements

This commit is contained in:
2024-05-10 11:10:00 +02:00
parent c05f989384
commit 2c88cde36e
199 changed files with 6338 additions and 78389 deletions

View File

@@ -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);