- Home /
Changing Player Color? Player Customization?
I'm making my first Unity game. So obviously, the player ins't anything special or whatnot. The player is currently a red sphere. I am trying to implement an in-game store to buy different colors or player themes with the in-game currency. How can I make it so that when I buy and choose a specific color in the store, the player's color will change in all scenes? I have made a prefab for the player. Perhaps there is a way to modify the prefab altogether?
I am scripting in UnityScript/Javascript. No C# please... :)
Thanks!
have a look here for material color
http://docs.unity3d.com/ScriptReference/Renderer-material.html
Hey, thanks for the reply, when I get around to it, I'll see if I can get it to work. Thanks! :D
Your answer
Follow this Question
Related Questions
How to Follow By Getting KeyDown? 0 Answers
How to store a variable of the player 1 Answer
How to implement a store into mobile game 0 Answers
Rotate Gameobject on Z axis only (.JS) 1 Answer
In-Game Store Using Collected Coins 3 Answers