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

C#: void PlayDefaultAnimation ([bool replayFromStart = false])
JS: function PlayDefaultAnimation ([replayFromStart : boolean = false]) : void

Description
Play the default animation.

If replayFromStart = true and the default animation is already playing, the animation will restart from the beginning.


C#: void PlayDefaultAnimation (bool replayFromStart, bool playBackwards)
JS: function PlayDefaultAnimation (replayFromStart : boolean, playBackwards : boolean) : void

Description
Play the default animation.

If replayFromStart = true and the default animation is already playing, the animation will restart from the beginning.

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