I have a roller ball type game and i was wondering if somehow i could get a script to change the color of the ball to the players liking. Can someone help please
If you Google for “Unity change object color”, you’ll come across many code snippets, and links like this on first page:
Not sure if it does all you need, but you’ll get the idea!
You basically have to get the material on object and change that material’s color.
@eses So basically i have to write a script that has a button that changes the color like if the button gets pressed then change object color to renderer.material.color = new Color(0.5f,1,1); //C#?