Esempio n. 1
0
 public static Promise WaitOneFrame(this MonoBehaviour behaviour)
 {
     return(behaviour.CreatePromise().WaitOneFrame());
 }
Esempio n. 2
0
 public static Promise WaitRealtime(this MonoBehaviour behaviour, float time)
 {
     return(behaviour.CreatePromise().WaitRealtime(time));
 }
Esempio n. 3
0
 public static Promise Then(this MonoBehaviour behaviour, Action action)
 {
     return(behaviour.CreatePromise().Then(action));
 }
Esempio n. 4
0
 public static Promise Then(this MonoBehaviour behaviour, Action <object, object> action, object parameterFirst, object parameterSecond)
 {
     return(behaviour.CreatePromise().Then(action, parameterFirst, parameterSecond));
 }
Esempio n. 5
0
 public static Promise Then(this MonoBehaviour behaviour, IEnumerator coroutine)
 {
     return(behaviour.CreatePromise().Then(coroutine));
 }