Files
TEngine/UnityProject/Packages/YooAsset/RuntimeExtension/ExtensionClass/AssetHandleExtension.cs
ALEXTANGXIAO 1e195ed3b4 TE6 打飞机Demo
TE6 打飞机Demo
2025-04-26 23:23:39 +08:00

16 lines
381 B
C#

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;
}
}