- Home /
Question by
ina · Jan 11, 2011 at 09:53 PM ·
guiguilayoutgui-window
GUILayout Window not working inside switch case for conditional menu
For some reason, I cannot get the GUILayout to work inside of a switch-case...
The switch case is activated when the conditional flip is valid, and the GuiLayout popup shows.
Comment
Answer by Jessy · Jan 11, 2011 at 10:09 PM
Show some code. If you're trying to put OnGUILayout inside of a switch, that won't work. It's not a function you call manually.
Your answer
Follow this Question
Related Questions
GUILayout Textfield not editable just static 1 Answer
Using treeview OnGUI with GUIlayout 0 Answers
How to change thickness of ScrollBar of GUILayout ScrollView? 0 Answers
Apply Render Texture To GUI + Transparency? 2 Answers
GUILayout formatting help 1 Answer