爲Unity3D的Animator動畫狀態增長播放完畢回調

利用AnimatorStateInfo信息來處理當前的動畫信息。緩存 目前沒出現什麼bug,回調也相對精準。動畫 使用方式:this Animator.SetTrigger("shoot", delegate() { }); Animator.SetBool("enable", true, delegate() { }); Animator.Play("shoot",delegate() { })
相關文章
相關標籤/搜索