- Home /
Object Colour Change
i want it so a gui box with a colour bar shows and you pick which colour you want the object to be? here is what i have so far. i do not know how to make it a colour bar and if so how to make that bar appear in a gui box?
var Prefab : float;
function OnGUI() { } if renderer.material.color = Color.red; } GUI.Box(Rect(0,0,Screen.width,Screen.height),"This is a title"); }
Answer by Njpatel4 · Jan 23, 2012 at 11:54 PM
I used programs like Blender and Photoshop for stuff like that.
yah i guess i can just make the same model but diffrent colour, but the game omuni online has the type of colour change im looking for. if its too hard to get working i will just makelike 5 diffrent colour types.
Your answer
Follow this Question
Related Questions
Where is my HP Bar? 3 Answers
GUI box problem? 0 Answers
Change colour of GUI box, keep round corners. 0 Answers
Changing the colour of my shaders through GUI Colour palette? 0 Answers