- Home /
Question by
bellarose143 · Jan 08, 2017 at 06:31 PM ·
buttonguilayoutguistyle
How to change the color of a GuiLayout.button thats part of the editor
The team I am on wants a tool in the editor which is a simple button to click.
I have a GUILayout.Button already, clickable and working
I just want to be able to change the color when clicked.
More specifically, change the color based on a bool, but still.
I tried "style.normal.textcolor = some color" and when debugging the color value changed but when you look at the editor, its still Black text in the button
Comment
Your answer
![](https://koobas.hobune.stream/wayback/20220612104255im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
GUILayout.Button image 0 Answers
Small GUILayout button 1 Answer
GUI Repeat Button problem 1 Answer
Unable to find style in skin repaint 1 Answer