Table of Contents

Method Unpause

Namespace
MonoGame.Aseprite
Assembly
MonoGame.Aseprite.dll

Unpause(bool)

Unpaused this AnimatedSprite.

public bool Unpause(bool advanceToNextFrame = false)

Parameters

advanceToNextFrame bool

A value that indicates whether this AnimatedSprite should immediately advance to the next frame after unpausing. When this method returns false, this AnimatedSprite will -not- be advanced to the next frame, even if this was specified as true.

Returns

bool

true if this AnimatedSprite was successfully unpaused; otherwise, false. This method returns false if this AnimatedSprite is not currently animating or if it is not paused.