Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSHARP

unity detect if animation is playing

if(this.GetComponent<Animator>().GetCurrentAnimatorStateInfo(0).normalizedTime >= 1)
{
	//Do something when animator isn't playing
{
 
PREVIOUS NEXT
Tagged: #unity #detect #animation #playing
ADD COMMENT
Topic
Name
6+6 =