Collapse GUI

How can I create a collapsible GUI similar to the inspector? I see it’s possible with the EditorWindow is it possible with GUILayout somehow? Thanks.

Everything’s possible, it’s just a matter of coding it. Use buttons, labels, and some code so that if you click on the collapsible button, it toggles the state of displaying the info or not.

–Eric

If you want an example of how you can do a in game hide-able GUI, you can look at the Console I wrote below. Same sort of idea. may help at least.

http://forum.unity3d.com/threads/180860-Free-Console-with-networking-example