Adding "submenus" to the Old Unigine Editor


Recommended Posts


Say I would like to add an item called "Item" under the "Optimize" menu in the old editor.

What I do is call

menuAddItem("Item", "optimize_item", "optimize");

This seems to be working fine.

Now I want to add a sub-item call "Sub-item" under "Item".


menuAddItem("Sub-Item", "optimize_subitem", "optimize_item");

does not seem to work.

Did I miss something here?

Thanks in advance

Link to post