Unity3D/Script
[펌] Is there an isPlaying() type function for Animator
blueasa
2019. 11. 13. 18:39
if (animator.GetCurrentAnimatorStateInfo(0).IsName("YourAnimationName"))
{
// do your magic
}
[출처] https://stackoverflow.com/questions/23449494/is-there-an-isplaying-type-function-for-animator
Is there an isPlaying() type function for Animator
I know you can do animation.isPlaying() but is there something similiar for Animator ? So if I have: Animator animator; void Start() { animator = GetComponenet(); } Then I c...
stackoverflow.com
반응형