- Home /
Question by
knuppel · Mar 24, 2018 at 07:11 PM ·
gui button
Dark-Style gui.button
I'd like to add some Gui.Buttons like this:
GUI.backgroundColor = Color.white;
if (GUI.Button(new Rect(100, 300, 100, 100), "Click"))
Debug.Log("Clicked the button with an image");
GUI.backgroundColor = Color.grey;
if (GUI.Button(new Rect(200, 300, 100, 100), "Click"))
Debug.Log("Clicked the button with text");
But the button color is not white and not grey. It has a dark-style? How to make a real white, grey, green ... button?
Comment
Your answer
Follow this Question
Related Questions
Gui Button -transition 1 Answer
how to make GUI button with a 3d model inside? 1 Answer
Move with the mouse and create on click 1 Answer
make gui appear on gui button click 2 Answers