Adding "submenus" to the Old Unigine Editor


photo

Recommended Posts

Greetings,

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".

Calling

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

does not seem to work.

Did I miss something here?

Thanks in advance

Link to post