update extension sample

This commit is contained in:
何冠峰
2024-07-10 16:50:19 +08:00
parent 589eea7cf3
commit 30245b3668
9 changed files with 13 additions and 13 deletions

View File

@@ -1,4 +1,4 @@
#if UNITY_WECHAT_GAME
#if UNITY_WEBGL && WEIXINMINIGAME
using UnityEngine;
using UnityEngine.Networking;
using YooAsset;

View File

@@ -1,4 +1,4 @@
#if UNITY_WECHAT_GAME
#if UNITY_WEBGL && WEIXINMINIGAME
using YooAsset;
internal partial class WXFSInitializeOperation : FSInitializeFileSystemOperation

View File

@@ -1,4 +1,4 @@
#if UNITY_WECHAT_GAME
#if UNITY_WEBGL && WEIXINMINIGAME
using UnityEngine;
using UnityEngine.Networking;
using YooAsset;

View File

@@ -1,4 +1,4 @@
#if UNITY_WECHAT_GAME
#if UNITY_WEBGL && WEIXINMINIGAME
using YooAsset;
internal class WXFSLoadPackageManifestOperation : FSLoadPackageManifestOperation

View File

@@ -1,4 +1,4 @@
#if UNITY_WECHAT_GAME
#if UNITY_WEBGL && WEIXINMINIGAME
using YooAsset;
internal class WXFSRequestPackageVersionOperation : FSRequestPackageVersionOperation

View File

@@ -1,4 +1,4 @@
#if UNITY_WECHAT_GAME
#if UNITY_WEBGL && WEIXINMINIGAME
using YooAsset;
internal class LoadWechatPackageManifestOperation : AsyncOperationBase

View File

@@ -1,4 +1,4 @@
#if UNITY_WECHAT_GAME
#if UNITY_WEBGL && WEIXINMINIGAME
using YooAsset;
internal class RequestWechatPackageHashOperation : AsyncOperationBase

View File

@@ -1,4 +1,4 @@
#if UNITY_WECHAT_GAME
#if UNITY_WEBGL && WEIXINMINIGAME
using YooAsset;
internal class RequestWechatPackageVersionOperation : AsyncOperationBase

View File

@@ -1,4 +1,4 @@
#if UNITY_WECHAT_GAME
#if UNITY_WEBGL && WEIXINMINIGAME
using System.Collections.Generic;
using UnityEngine;
using YooAsset;
@@ -52,12 +52,12 @@ internal class WechatFileSystem : IFileSystem
}
}
#region
#region
/// <summary>
/// 自定义参数:远程服务接口
/// </summary>
public IRemoteServices RemoteServices { private set; get; } = null;
#endregion
#endregion
public WechatFileSystem()
@@ -171,7 +171,7 @@ internal class WechatFileSystem : IFileSystem
throw new System.NotImplementedException();
}
#region
#region
private string GetWXFileLoadPath(PackageBundle bundle)
{
if (_wxFilePaths.TryGetValue(bundle.BundleGUID, out string filePath) == false)
@@ -181,6 +181,6 @@ internal class WechatFileSystem : IFileSystem
}
return filePath;
}
#endregion
#endregion
}
#endif