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