Animate effect fields with Unity's Animation window or control them from code.

Unity Animation window

Select the object, open Window > Animation > Animation, add an AnimatedSpriteShader property, and keyframe the value.

Animation browser

If the object has an Animator, the inspector can show clips that animate shader properties and open the selected clip.