Game Development Reference
In-Depth Information
Looping animations
Animation clips have an additional attribute, which is known as looping. Non-looping an-
imations will freeze at their last keyframe pose, while looping animations will restart at the
beginning of their animation when the animation is stepped past the animation length:
local looping = Animation.IsLooping(animation);
Animation.SetLooping(animation, true);
Search WWH ::




Custom Search