Quantcast
Channel: Questions in topic: "state machine"
Viewing all articles
Browse latest Browse all 42

Why StateMachineBehaviour not calling OnStateExit when doing animator.Crossfade through code?

$
0
0
I made StateMachineBehaviour which is taking off certain restrictions from my character when StateExits but OnStateExit is not called when I change animation by doing animator.Crossfade. Why? OnStateMachineExit is not working as well. Is there possibility to call something when changing animation like that? For now I couldn't find way for this. (Unity 2018.4)

Viewing all articles
Browse latest Browse all 42

Trending Articles



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