Legacy Documentation: Version 2018.2 (Go to current version)
LanguageEnglish
  • C#

WrapMode.ClampForever

Description

Plays back the animation. When it reaches the end, it will keep playing the last frame and never stop playing.

When playing backwards it will reach the first frame and will keep playing that. This is useful for additive animations, which should never be stopped when they reach the maximum.

See Also: AnimationState.wrapMode, AnimationState.time, AnimationState.speed properties.

对文档有任何疑问,请移步至开发者社区提问,我们将尽快为您解答