Unity4.3から2Dがサポートされたことにより、スプライトアニメーション(コマアニメーション)も追加された。 今回はスプライトアニメーションの作り方についてまとめた。 サンプルの.unitypackageはこちら。 1. UnityにTextureをインポートしてSprite用の設定をする 詳しくはこちらを参照。 今回はスプライトアニメーション(コマアニメーション)を作るので、画像を複数用意する。 複数選択した状態でInspectorで一括でパラメーターを設定できる。 2. Spriteをシーンに配置してTextureを設定 Spriteの値は、アニメーションの最初のコマのTextrueを設定すると良い。 3. Animationファイルを作成してSpriteにアタッチ Project > Create > AnimationでAnimationファイルを作成。 Animationフ