You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
CrowdControl/Assets/Plugins/UniTask/Runtime/UniTask.Bridge.cs

19 lines
390 B
C#

#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();
}
}
}