Quantcast
Channel: Questions in topic: "4.1"
Viewing all articles
Browse latest Browse all 45

Need to stop animation

$
0
0
For a Wait animation I used the next code: ```If (velocityx ==0 && Time.timeSinceLevelLoad >= 40) { animator.Play("Wait"); }``` I tried stop with this code: ```else if( velocityx ==1 || velocityx ==-1) { animator.SetBool("Wait", false); animator.Setbool("Run", true!; }``` But I can't stop "Wait" to return idle animation its like "Wait" replaced my "Idle" animation, charachter only can run, and jump, sombody help me, please?

Viewing all articles
Browse latest Browse all 45

Trending Articles



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