Quantcast
Channel: Answers for "Can you Help me with GUI button toggling?"
Browsing latest articles
Browse All 6 View Live

Answer by ocard

This is done by overiding the default styling of the GUI by declaring a new style at the end, eg. "..., "button");".For example! var toggleButton : boolean; function OnGUI () { //style toggle as a...

View Article



Answer by Lipis

I think I've seen this code somewhere :)Now if you want to use GUI.Button instead of GUI.Toggle, replace this:showWindow = GUI.Toggle (Rect (16, 16, 128, 24), showWindow, "Show My Window");with that:if...

View Article

Answer by khalil

Neither of these work---- what the inquire is asking, is how does one switch on-off buttons and how does one extend this functionality to a consecutive series of buttons as the player clicks the...

View Article
Browsing latest articles
Browse All 6 View Live




Latest Images