A Unity-package for waiting for animations in coroutines.
Check out the wiki here.
Found any issues? Leave them here.
Want to see what's new? The changelog is here.
Adds custom yield-instructions for waiting for animations to start or finish inside of coroutines. Example:
// using Dev.ComradeVanti.WaitForAnim
yield return new WaitForAnimationToStart(animator, "MyAnim");
The quickest way is to install via OpenUPM
using openupm add dev.comradevanti.wait-for-anim
.
Or install manually
as git dependency
from https://github.com/ComradeVanti/WaitForAnim.git
or download as zip
and import locally.
Developed with Unity 2020.3 but good chance that it will work with earlier versions, though this has not been tested.