Animator
不便な点
don't use massive amounts of transitions out of Any State. you're asking the animator to check dozens (or god forbid, hundreds) of conditions every frame the animator runs. its ok to check that many once when params change, not EVERY UPDATE. tia
*pulls out popcorn*
https://pbs.twimg.com/media/FMOfDOYVQAEpTLD.jpg
転記:2017/6/10
Animatorクラス
メカニムアニメーションを制御するインタフェース
GetComponent(Type type)
ゲームオブジェクトがType typeのコンポーネントを返す