Hello
I’m making a 2D game
For my tests I used sprite as ennemies, and I used the spriterenderer component to change it’s color on the fly to tell the player that it was selctable (the sprite turned blue in order to tell the player that it can click on it)
Now that my prototype is more “elaborate” let’s say, i’m not working with sprite as ennemies but with gameobject that contains mutliple animated sprites.and of course, this method doesn’t work anymore.
is there a way to tell that all the sprites in the GameObject have to turn into a specific color ?
My gameobject got multiple child sprites objects in it.
Must i choose for a kind of loop all childrens, or is there something quicker ?