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

arrow
arrow
    全站熱搜
    創作者介紹
    創作者 kk匡 的頭像
    kk匡

    kk匡的日記&學習筆記

    kk匡 發表在 痞客邦 留言(0) 人氣()