From fdacd5f3f8e303dbf5a23978c385405ae49195e6 Mon Sep 17 00:00:00 2001 From: hevinci Date: Tue, 18 Oct 2022 10:19:40 +0800 Subject: [PATCH] Update basic sample --- .../Samples~/Basic Sample/GameScript/Runtime/BootScene.cs | 2 +- .../YooAssetSetting/AssetBundleBuilderSetting.asset | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) 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