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.PlayAtFrame

C#: void PlayAtFrame (string animationName, int frameIndex)
JS: function PlayAtFrame (animationName : string, frameIndex : int) : void

Description
Play an animation by name at a specific frame.


C#: void PlayAtFrame (string animationName, int frameIndex, bool playBackwards)
JS: function PlayAtFrame (animationName : string, frameIndex : int, playBackwards : boolean) : void

Description
Play an animation by name at a specific frame.

If playBackwards = true, animation frames will be played in reverse order.


C#: void PlayAtFrame (int animationIndex, int frameIndex, bool playBackwards)
JS: function PlayAtFrame (animationIndex : int, frameIndex : int) : void

Description
Play an animation by index at a specific frame.


C#: void PlayAtFrame (int animationIndex, int frameIndex)
JS: function PlayAtFrame (animationIndex : int, frameIndex : int, playBackwards : boolean) : void

Description
Play an animation by index at a specific frame.

If playBackwards = true, animation frames will be played in reverse order.