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