上传task

This commit is contained in:
2025-06-15 22:06:57 +08:00
parent bc58a9d0d5
commit bcfa5ce1ec
358 changed files with 73507 additions and 7 deletions

View File

@@ -0,0 +1,18 @@
#pragma warning disable CS1591 // Missing XML comment for publicly visible type or member
using System;
using System.Collections;
namespace Cysharp.Threading.Tasks
{
// UnityEngine Bridges.
public partial struct UniTask
{
public static IEnumerator ToCoroutine(Func<UniTask> taskFactory)
{
return taskFactory().ToCoroutine();
}
}
}