Pause affects the complete game time scale. Any way to make few game objects to run animation in pause mode?

Hello Fellow developers,

Sorry about the long title.

Well, as my long title suggest… When I pause the complete game, I want few game objects animation to play or active. Anyway to do it? An example would be great.

Thanks in advance

There’s an animation mode of the animator that’s called “Unscaled time”. It will continue to play regardless of the timescale

— UPDATE

If you have objects that don’t have animations but have to continue to run during the Pause, you’ll have to move your objects in Update function with Time.unscaledTime instead of Time.deltaTime. Updates are being called every time regardless of the Timescale