YooAsset Extension程序集 因为MIniGame的FileSystem是写死了这个程序集

YooAsset Extension程序集 因为MIniGame的FileSystem是写死了这个程序集
This commit is contained in:
Alex-Rachel
2025-03-20 10:29:49 +08:00
parent 0ba9d1a8b7
commit 14bbb993f8
80 changed files with 43 additions and 2 deletions

View File

@@ -0,0 +1,16 @@
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using YooAsset;
public static class AssetHandleExtension
{
/// <summary>
/// 等待异步执行完毕
/// </summary>
public static AssetHandle WaitForAsyncOperationComplete(this AssetHandle thisHandle)
{
thisHandle.WaitForAsyncComplete();
return thisHandle;
}
}