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.