Constructor popupMenu.popupMenu(+ 1 overload)
Overload
Use this constructor for various context menus of your app.
public popupMenu()
Remarks
Users cannot right-click a menu item and open/select it in editor.
Overload(top)
Use this constructor in scripts.
public popupMenu(string name, string f_ = null, int l_ = 0)
Parameters
name (string)
Menu name. Must be a unique valid filename. Currently not used. Can be |
f_ (string) |
l_ (int) |
Remarks
This overload sets MTBase.ExtractIconPathFromCode = true
.
Users can right-click an item to open/select it in editor, unless f_ is explicitly set = null
.