Hi
I’ve have made a game were you in the main menu can press on a cube and it will change to a color, it works fine, but i also have to change the players color to the same which is in another scene. Any ideas how its should be done?
Thanks
That its my code
Code (CSharp):
- void OnMouseDown() {
- GetComponent().material.color = Random.ColorHSV(0f, 1f, 1f, 1f, 0.5f, 1f);
-
- }