EditorPluginAddToolSubmenuItem Method |
Adds a custom submenu under Project > Tools > name. submenu should be an object of class PopupMenu. This submenu should be cleaned up using remove_tool_menu_item(name).
Namespace: Godot
public void AddToolSubmenuItem( string name, Object submenu )
[Missing <param name="name"/> documentation for "M:Godot.EditorPlugin.AddToolSubmenuItem(System.String,Godot.Object)"]
[Missing <param name="submenu"/> documentation for "M:Godot.EditorPlugin.AddToolSubmenuItem(System.String,Godot.Object)"]