diff --git a/Assets/YooAsset/Samples~/Basic Sample/GameScript/Runtime/BootScene.cs b/Assets/YooAsset/Samples~/Basic Sample/GameScript/Runtime/BootScene.cs index 41b44ea..4c93a50 100644 --- a/Assets/YooAsset/Samples~/Basic Sample/GameScript/Runtime/BootScene.cs +++ b/Assets/YooAsset/Samples~/Basic Sample/GameScript/Runtime/BootScene.cs @@ -111,7 +111,8 @@ public class BootScene : MonoBehaviour { public bool QueryStreamingAssets(string fileName) { - return BetterStreamingAssets.FileExists($"{YooAssets.GetStreamingAssetBuildinFolderName()}/{fileName}"); + string buildinFolderName = YooAssets.GetStreamingAssetBuildinFolderName(); + return BetterStreamingAssets.FileExists($"{buildinFolderName}/{fileName}"); } } } \ No newline at end of file diff --git a/Assets/YooAsset/Samples~/Basic Sample/YooAssetSetting/AssetBundleCollectorConfig.xml b/Assets/YooAsset/Samples~/Basic Sample/YooAssetSetting/AssetBundleCollectorConfig.xml index b2460ae..94f2c3a 100644 --- a/Assets/YooAsset/Samples~/Basic Sample/YooAssetSetting/AssetBundleCollectorConfig.xml +++ b/Assets/YooAsset/Samples~/Basic Sample/YooAssetSetting/AssetBundleCollectorConfig.xml @@ -1,25 +1,25 @@  - - + + - - + + - - - + + + - - - - + + + + - - + + \ No newline at end of file diff --git a/Assets/YooAsset/Samples~/Basic Sample/YooAssetSetting/AssetBundleCollectorSetting.asset b/Assets/YooAsset/Samples~/Basic Sample/YooAssetSetting/AssetBundleCollectorSetting.asset index 62bb97f..aab4f62 100644 --- a/Assets/YooAsset/Samples~/Basic Sample/YooAssetSetting/AssetBundleCollectorSetting.asset +++ b/Assets/YooAsset/Samples~/Basic Sample/YooAssetSetting/AssetBundleCollectorSetting.asset @@ -14,6 +14,7 @@ MonoBehaviour: m_EditorClassIdentifier: ShowPackageView: 0 EnableAddressable: 1 + UniqueBundleName: 0 Packages: - PackageName: DefaultPackage PackageDesc: