public static Promise WaitOneFrame(this MonoBehaviour behaviour) { return(behaviour.CreatePromise().WaitOneFrame()); }
public static Promise WaitRealtime(this MonoBehaviour behaviour, float time) { return(behaviour.CreatePromise().WaitRealtime(time)); }
public static Promise Then(this MonoBehaviour behaviour, Action action) { return(behaviour.CreatePromise().Then(action)); }
public static Promise Then(this MonoBehaviour behaviour, Action <object, object> action, object parameterFirst, object parameterSecond) { return(behaviour.CreatePromise().Then(action, parameterFirst, parameterSecond)); }
public static Promise Then(this MonoBehaviour behaviour, IEnumerator coroutine) { return(behaviour.CreatePromise().Then(coroutine)); }