LoginSignup
0
0

More than 5 years have passed since last update.

【Unity2d】Animationに合わせて音を出す

Posted at

走るAnimationに対して、着地するたびに足音を出すようにしたい。

で、いろいろと調べたところ簡単にできるみたい

「Window」→「Animation」でAnimationタブを表示して、
音を出したいところで(秒数の下あたりを)右クリック。
で、EventをセットしてやればOK!
※EventはSpriteにAttachされているScriptから選択可能です。

animation_event.png

参考

0
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
0
0