1
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

#メモ簡易 Unity 2D スプライト アニメーション

Last updated at Posted at 2015-05-10

2Dアニメーションの再生制御。

素材:スプライトシート||テクスチャアトラス

SpriteEditorを使って画像をスライスしました。

05-10.png


連番アニメ部分を選択して、シーンにD&Dしました。=>オブジェクトが作成されました。

<その後Prefab化しました>

15-05.png


制御:Mechanimを使う

2015-05-.png

パラメータを設定すれば切替などの制御が可能になりました。


Blend-treeを使いましょう。(2D用の物がありました。)

右クリックから -> -> Create New Blend Tree してダブルクリックです。

スクリーンショット 2015-05-10 14.11.30.png


嵌っちゃいました <アニメーションが切り替えられない。何故か、>

2Dシンプル方向をセットしたとき、モーション2個ではダメだったが4個つけたら正常に制御できた。

2Dフリーフォーム方向ををセットしたとき モーションが2個でも動かせた。

スクリーンショット 2015-05-10 17.30.55.png

1
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?