LoginSignup
4
4

More than 5 years have passed since last update.

アニメーションを強制的に最後のフレームにする

Posted at
Animation animation;
animation["SomeAnimation"].time = animation.clip.length;

Animation#[] でAnimationStateを、AnimationClip#lengthでアニメーションの秒数を取得できるっぽい。

"SomeAnimation" のところはインスペクタを見て名前を参照する。

参考

もっといい方法

ありそう…

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