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.