Answers for "unity get if animation is playing"

0

unity detect if animation is playing

if(this.GetComponent<Animator>().GetCurrentAnimatorStateInfo(0).normalizedTime >= 1)
{
	//Do something when animator isn't playing
{
Posted by: Guest on March-08-2021
1

check if animation is playing unity

if (myAnimator.GetCurrentAnimatorStateInfo(0).IsTag("Example"))
Posted by: Guest on June-13-2021

Code answers related to "unity get if animation is playing"

Browse Popular Code Answers by Language