x


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.

more ▼

asked Jan 11 '11 at 09:53 PM

ina gravatar image

ina
3.3k 492 549 598

(comments are locked)
10|3000 characters needed characters left

1 answer: sort voted first

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.

more ▼

answered Jan 11 '11 at 10:09 PM

Jessy gravatar image

Jessy
15.6k 72 95 196

(comments are locked)
10|3000 characters needed characters left
Your answer
toggle preview:

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Topics:

x3681
x135
x19

asked: Jan 11 '11 at 09:53 PM

Seen: 1461 times

Last Updated: Jan 11 '11 at 09:53 PM