diff --git a/Assets/YooAsset/Samples~/Basic Sample/GameScript/Runtime/BootScene.cs b/Assets/YooAsset/Samples~/Basic Sample/GameScript/Runtime/BootScene.cs index 0f039a0..41b44ea 100644 --- a/Assets/YooAsset/Samples~/Basic Sample/GameScript/Runtime/BootScene.cs +++ b/Assets/YooAsset/Samples~/Basic Sample/GameScript/Runtime/BootScene.cs @@ -111,7 +111,7 @@ public class BootScene : MonoBehaviour { public bool QueryStreamingAssets(string fileName) { - return BetterStreamingAssets.FileExists($"YooAssets/{fileName}"); + return BetterStreamingAssets.FileExists($"{YooAssets.GetStreamingAssetBuildinFolderName()}/{fileName}"); } } } \ No newline at end of file diff --git a/Assets/YooAsset/Samples~/Basic Sample/YooAssetSetting/AssetBundleBuilderSetting.asset b/Assets/YooAsset/Samples~/Basic Sample/YooAssetSetting/AssetBundleBuilderSetting.asset index 6b3d46b..d93ed67 100644 --- a/Assets/YooAsset/Samples~/Basic Sample/YooAssetSetting/AssetBundleBuilderSetting.asset +++ b/Assets/YooAsset/Samples~/Basic Sample/YooAssetSetting/AssetBundleBuilderSetting.asset @@ -15,7 +15,8 @@ MonoBehaviour: BuildPipeline: 0 BuildMode: 1 BuildPackage: DefaultPackage - BuildTags: buildin; CompressOption: 2 OutputNameStyle: 1 + CopyBuildinFileOption: 1 + CopyBuildinFileTags: EncyptionClassName: EncryptionNone