Missing Popup menu for GUI

Hi all,

I can’t believe this is missing out of Unity. Surely I have overlooked some minor detail.

There is no popupmenu function out of the box, GUI.popup

yet there is EditorGUI.Popup - used to create extra controls on the editor window.

I would like to use a popup menu, the closest thing I have found is the GUI.SelectionGrid, which doesn’t work because all the buttons are exposed. I need it to popup and down with respect to pressing the main down arrow like enum lists.

Can someone help? Am I missing something?

Thanks,

G

you can animate the box width and hight to give the feel of popUp :slight_smile: sometimes it works , but it is lots of calls;
why not use any GUI tool fro Assetstor ? it handle everything better, faster sometimes onedarw call not cost alot like Unity normal GUI;
did you try to use any plugin ?

m;

I tried to use the plugin by Eric Haines.

I put it into the Standard Assets/Plugin folder. My other Javascript plugins work that are in there, but for some reason this C# plugin is not recognized.

I had a look at the unity reference manual about order of execution, and I believe I’m doing everything right.

I don’t want to buy any tools if i don’t have to. I hoped this would do it out of the box. It doesn’t make any sense to me that the Editor has this feature but the Stage environment does not.