Is there any boolean like isPlaying in Mecanim to detect if ANY animation is playing or i have to create it myself?I am searching almost 3 hours over the net and the Unity docs and can’t find nothing about this.Can somebody help me out?
So i did it out my self, because searching for this thing took me 10 times the time i was able to write a boolean check.Assuming one does not make any transitions and just restarting the animation the animation can be of course found by comparing the animators state info “normalized time” is it equal to 0 AND is it less than the Animator’s state info length.For making transitions though maybe there will be additional things to check…