- Home /
Question by
gccps3c3c3c · Jan 22, 2017 at 09:47 PM ·
c#guibutton
C# GUI.Button highlighting and pressed effect
i want to make a button in script. here is my code :
GUI.Button(new Rect(100, 100 , 100, 100), "", Skin.GetStyle("FailedPanelButton"))
but the button do not change color when it highlighted or pressed , how can i do this ?
thank you for your help !
Comment
This is using the old/legacy gui features. You'd better use the new UI components.
Your answer
Follow this Question
Related Questions
How to make a or array of GUI.Button's? 1 Answer
Distribute terrain in zones 3 Answers
GUI.Button is acting funky. 2 Answers