diff --git a/Assets/YooAsset/Samples~/Mini Game/Runtime/WechatFileSystem/Operation/WXFSClearAllBundleFilesOperation.cs b/Assets/YooAsset/Samples~/Mini Game/Runtime/WechatFileSystem/Operation/WXFSClearAllBundleFilesOperation.cs index 32ebdc11..3e190c1c 100644 --- a/Assets/YooAsset/Samples~/Mini Game/Runtime/WechatFileSystem/Operation/WXFSClearAllBundleFilesOperation.cs +++ b/Assets/YooAsset/Samples~/Mini Game/Runtime/WechatFileSystem/Operation/WXFSClearAllBundleFilesOperation.cs @@ -1,4 +1,4 @@ -#if UNITY_WEBGL && WEIXINMINIGAME +#if UNITY_WEBGL && (WEIXINMINIGAME || UNITY_WECHATMINIGAME) using YooAsset; using WeChatWASM; diff --git a/Assets/YooAsset/Samples~/Mini Game/Runtime/WechatFileSystem/Operation/WXFSClearUnusedBundleFilesAsync.cs b/Assets/YooAsset/Samples~/Mini Game/Runtime/WechatFileSystem/Operation/WXFSClearUnusedBundleFilesAsync.cs index abeae8ae..f332e5da 100644 --- a/Assets/YooAsset/Samples~/Mini Game/Runtime/WechatFileSystem/Operation/WXFSClearUnusedBundleFilesAsync.cs +++ b/Assets/YooAsset/Samples~/Mini Game/Runtime/WechatFileSystem/Operation/WXFSClearUnusedBundleFilesAsync.cs @@ -1,4 +1,4 @@ -#if UNITY_WEBGL && WEIXINMINIGAME +#if UNITY_WEBGL && (WEIXINMINIGAME || UNITY_WECHATMINIGAME) using System.Collections.Generic; using System.IO; using System.Linq; diff --git a/Assets/YooAsset/Samples~/Mini Game/Runtime/WechatFileSystem/WechatFileSystem.cs b/Assets/YooAsset/Samples~/Mini Game/Runtime/WechatFileSystem/WechatFileSystem.cs index d67b4975..3ec830a4 100644 --- a/Assets/YooAsset/Samples~/Mini Game/Runtime/WechatFileSystem/WechatFileSystem.cs +++ b/Assets/YooAsset/Samples~/Mini Game/Runtime/WechatFileSystem/WechatFileSystem.cs @@ -1,4 +1,4 @@ -#if UNITY_WEBGL && WEIXINMINIGAME +#if UNITY_WEBGL && (WEIXINMINIGAME || UNITY_WECHATMINIGAME) using YooAsset; using WeChatWASM; diff --git a/Assets/YooAsset/Samples~/Mini Game/Runtime/WechatFileSystem/WechatPlatform.cs b/Assets/YooAsset/Samples~/Mini Game/Runtime/WechatFileSystem/WechatPlatform.cs index 90828bee..79322ca3 100644 --- a/Assets/YooAsset/Samples~/Mini Game/Runtime/WechatFileSystem/WechatPlatform.cs +++ b/Assets/YooAsset/Samples~/Mini Game/Runtime/WechatFileSystem/WechatPlatform.cs @@ -1,4 +1,4 @@ -#if UNITY_WEBGL && WEIXINMINIGAME +#if UNITY_WEBGL && (WEIXINMINIGAME || UNITY_WECHATMINIGAME) using UnityEngine; using UnityEngine.Networking; using YooAsset;