public IPromise WaitUntilFoundObjectOfType <T>() where T : Object
 {
     return(promiseTimer.WaitUntil(timeData => (T)Object.FindObjectOfType(typeof(T))));
 }
Beispiel #2
0
 public IPromise WaitUntil(Func <TimeData, bool> predicate)
 {
     return(_promiseTimer.WaitUntil(predicate));
 }