Unity Animator經常使用API解析

animator它的API部分寫的比較雜,致使咱們要找想要的功能的時候,常常須要調用四五層接口,我寫了一個擴展類,可能幫助咱們快速找到想要的功能git 1.獲取當前animator對應層級的狀態機 public static AnimatorStateMachine GetAnimatorStateMachine(this Animator ani,int layer) {
相關文章
相關標籤/搜索