unity, Animator.ResetTrigger

解:
正确的写法应该是:
Animator.SetTrigger("unfoldTrigger")
Animator.ResetTrigger("unfoldTrigger")
Animator.SetTrigger("foldTrigger") 
参考:http://answers.unity3d.com/questions/801875/mecanim-trigger-getting-stuck-in-true-state.html

posted on 2017-01-16 16:17  wantnon  阅读(2751)  评论(0编辑  收藏  举报

导航