Same sprite animation on multiple objects

I want to animate an ocean. I have multiple tiled map with a lot of ocean tiles, similar to the water in Pokemon games. I want to animate all the water tiles at the same time using the same animation in Unity.

I don’t want to iterate over all the objects changing the sprite on each sprite renderer, there are too many. Since I am using the same sprite on all the objects and the sprite animation is on the same spritesheet I tried changing the rect of the Sprite dynamically so that it updates on all the renderers of the sea tiles, but it seems that the Sprite.rect is read only and rect.Set()ing new values has no effect.

I’m probably just going to write my own shader since it seems that the sprite renderer does not allow me to do this efficiently.

Is there another way?

Just use Animator Override Controller :slight_smile: