Quantcast
Channel: Answers by "IvovdMarel"
Viewing all articles
Browse latest Browse all 145

Answer by IvovdMarel

$
0
0
Although I agree it has been answered many times - it's not always correct, so please find the correct approach here: if (GetComponent().GetCurrentAnimatorStateInfo(0).IsName(“Attack")){ print("Playing attack anim!"); } Keep in mind this only works with single layered animators.

Viewing all articles
Browse latest Browse all 145

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>