Esempio n. 1
0
 public static IEnumerator AsCoroutine(this TaskRunner.MonitoredTask self, float waitInterval = 0.02f)
 {
     return(self.task.AsCoroutine(waitInterval));
 }
Esempio n. 2
0
 public static IEnumerator AsCoroutine <T>(this TaskRunner.MonitoredTask <T> self, int timeoutInMs = -1, int waitIntervalInMs = 20)
 {
     return(self.task.AsCoroutine(timeoutInMs, waitIntervalInMs));
 }