Car/Assets/Plugin/YogiGameCore/UniTask/Runtime/UniTask.Bridge.cs

19 lines
390 B
C#
Raw Normal View History

2024-12-31 07:57:41 +08:00
#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();
}
}
}