close
這些文章只是一些筆記、不像別人的教程那麼長篇大論、也不會很明確和詳細的說。
主要也沒時間慢慢寫教程。
using UnityEngine;
using System.Collections;
Animtor m_ani;
m_ani = this.GetComponent<Animtor>;
// 獲取預設的動畫動作
AnimtorStatleInfo stateInfo = m_ani.GetCurrentAnimatorStateIndo(0);
// 所有動作都預設在同一階層
// 方法就是把它們連在一起
Animator.StringToHash("Base Layer.idle");
Animator Scripting - Unity Official Tutorials
https://www.youtube.com/watch?v=s7EIp-OqVyk
Animation Curves and Events - Unity Official Tutorials
https://www.youtube.com/watch?v=8VG2aK2AGSk
全站熱搜