Animate the parameters of a material used by multiple objects (Animate SharedMaterial)

I need to animate the parameters of a material Shader I made for multiple objects but when I make a new animation and try to change them in the animator I can only animate the material I have selected, not the share material and it makes a unique look for that object. I have a big array of 40x40 cubes using that Shader.

If I change the parameters on the material inspector it changes to all them but if I make an animation it just change the one object I have selected.

Is there a way to animate all them or the sharedMaterial in Unity?

Thank you,
David

up ? :open_mouth:

Only way I know is make a custom inspector that change the sharedMaterial, then you can animate that setting instead.