Sprite Factory

ReadMe
Release Notes
Overview
Using the Editor
Upgrading

Concepts
Sprites
Master Sprites
Sprite Groups
Colliders
Locators
Material Sets
SpriteUpdater
SpriteCamera

Advanced
Working in Multiple Projects

Classes
Runtime Classes

Videos
Overview
Creating Sprites
Sprite Inspector
Frame Events
Collision System
Locator System
Material Sets

Links
Sprite Factory Site
Web Documentation
Support
Contact

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.

See Also
GetAnimationFrameCounts
currentAnimationFrameCount