Wait for Callback completion #183
-
|
Is it possible to Chain a callback (coroutine or async) and then wait for the callback to complete? This will obviously not wait for the coroutine to complete: var seq = Sequence.Create();
seq.ChainCallback(target: this, t => StartCoroutine(t.MyCoroutine())); |
Beta Was this translation helpful? Give feedback.
Answered by
KyryloKuzyk
Jul 24, 2025
Replies: 1 comment 1 reply
-
|
Hey, thanks for the question! |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
sima995
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hey, thanks for the question!
No, PrimeTween doesn't currently integrate that functionality because that would break a couple of existing APIs. For example, if that is allowed, the Sequence would have an undefined progress/duration and similar properties.