Source
void prevFrame() { var lastFrame = totalFrames - 1; var prevFrame = currentFrame - 1; if (prevFrame < 0) prevFrame = loop ? lastFrame : 0; _play = false; _frameTime = null; _currentFrame = prevFrame; }
void prevFrame() { var lastFrame = totalFrames - 1; var prevFrame = currentFrame - 1; if (prevFrame < 0) prevFrame = loop ? lastFrame : 0; _play = false; _frameTime = null; _currentFrame = prevFrame; }