Scaled Time
Last updated
Last updated
Many effects, like most of the the UV and Mesh effects, will use Time to animate. This Time value is scaled by default, meaning that if you pause the game, the effects will stop animating. In some cases you'll want full control over the time of your materials, either for this reason, or for some other custom reason. The first step is to enable Use Custom Time to the Materials you want to change the time behaviour of.
To change the behaviour of the time add a component to an active Gameobject in your scene with whatever logic you desire. For example the asset has this component to use unscaled time on Mateirals that use the Custom Time:
And as a reminder, to have materials visually update in the Scene view check the Always Refresh option in the top right corner of the Scene Window: