Unity Engine documentationScript ReferenceUnityEngineUnityEngine.UIElementsAnimationIterationCountRepresents the number of times an animation repeats, used by the animation-iteration-count style property. The count is either a finite number of iterations or AnimationIterationCount.Infinite.Read time 1 minuteLast updated 13 days agoDefinition Type: Struct Namespace: UnityEngine.UIElements Assembly: UnityEngine.UIElementsModule Implements: IEquatable<AnimationIterationCount> public readonly struct AnimationIterationCount : IEquatable<AnimationIterationCount> Constructors ConstructorDescriptionAnimationIterationCount(System.Single)Creates a finite iteration count. Negative values clamp to 0 (0 is valid: the animation is applied but does not play). Properties PropertyDescriptionvalueThe number of iterations. Is PositiveInfinity when the count is infinite. Methods MethodDescriptionIsInfiniteWhether the animation repeats forever. Static Methods MethodDescriptionInfiniteA count that repeats the animation forever.