Scaled Time
Video about it:
The default shader variant of the asset uses the built in Unity “_Time” shader property to animate some effects. “_Time” is scaled, which means that if you pause the game all animated effects will pause too. If you want all shader effect animations to keep playing, use the Scaled Time shader variant and add the SetGlobalTime component to an active object of your scene. It feeds the shader the unscaled time, so the effects keep moving while Time.timeScale is 0.

For a masked UI Image, the Masked UI Scaled Time variant combines this with UI Masking.
Changing the shader variant
Section titled “Changing the shader variant”To change the shader variant use the asset component:

