i have a shader that allows to replace colors , i have my sprite collection with a man in white for the player but i want the enemies to use the same sprite collection but with other colors, created different materials with this shader using each one different colors, but if i set the material of the enemy , the player gets changed as well
any way to do this without having to duplicate the sprite collection?