I am writing a multiplayer game. I use a lot of gameobjects and tweens. the problem is if a user go to another tab or another app for a while and come back, the tween will resume from the last state. Because of multiplayer nature, the tween is supposed to catch up the time lost. or end it at target values.
I can avoid using tweens and write my own movement/animation/rotation and use the correct time. but this will be too much of wasting time just for that. I don’t want to reinvent the wheel again.
Is there any other way to fix that issue?