Method Pause
Pause(bool)
Paused this AnimatedSprite and prevents it from being updated until it is unpaused.
public bool Pause(bool resetFrameDuration = false)
Parameters
resetFrameDuration
boolA value that indicates whether the CurrentFrameTimeRemaining should be reset. When this method returns false, this indicates the CurrentFrameTimeRemaining was not reset even if this was specified as true.
Returns
- bool
true if this AnimatedSprite was successfully paused; otherwise, false. This method returns false if this AnimatedSprite is not currently animating or if it is already paused.