SpriteFactory.Sprite.GetAnimationFrameCount
C#: float GetAnimationFrameCount (string animationName)
JS: function GetAnimationFrameCount (animationName : String) : float
Description
Get the number of frames in an animation by name.
C#: float GetAnimationFrameCount (int animationIndex)
JS: function GetAnimationFrameCount (animationIndex : int) : float
Description
Get thenumber of frames in an animation by index.