Hi!
Does anyone know why I can’t stop Flipbook animation by something like this?
if (GetSprite()->GetPlaybackPositionInFrames() == 3)
{
GetSprite()->Stop();
}
Hi!
Does anyone know why I can’t stop Flipbook animation by something like this?
if (GetSprite()->GetPlaybackPositionInFrames() == 3)
{
GetSprite()->Stop();
}
Excuse me. Animation wasn’t stoped becouse its variable was reassigned after above code.