This commit is contained in:
2025-11-12 07:04:31 +08:00
parent 33a4742904
commit f615d8ddb0
68 changed files with 1388 additions and 1478 deletions

View File

@@ -0,0 +1,15 @@
using Cysharp.Threading.Tasks;
using UnityEngine;
using YooAsset;
namespace Tuan.GameFramework
{
public class Asset : MonoBehaviour
{
async UniTask LoadAsync(string name)
{
AssetHandle handle = YooAssets.LoadAssetAsync(name);
await handle.ToUniTask();
}
}
}