Quantcast
Channel: Answers for "How to get current state on Mecanim?"
Browsing latest articles
Browse All 4 View Live

Answer by jwinn

Check out the latest Mecanim tutorial download, which has changed code since the beta. I was just dealing with integrating all the mecanim animator changes today. Here's an example of how they set it...

View Article



Answer by Dev6_RC

How About using something like this: if( anim_Animator.GetCurrentAnimatorStateInfo(0).IsName("MyAnimationName")) { //Do something if this particular state is palying } This Function returns true when...

View Article
Browsing latest articles
Browse All 4 View Live




Latest Images