I’m using something like this to change the color of several objects.
skinMat.color = color;
skinMat is a Material attached in the inspector. The problem is when I change the color in-game, it keeps it afterwards. I’ve tried a bunch of things and no matter what it always keeps the color I chose in-game. I’d like to have the material revert back to its original state when I stop the game in the editor. There MUST be a way to do this, in code or otherwise.
Thanks in advance,