EditorPluginAddToolMenuItem Method |
Adds a custom menu item to Project > Tools as name that calls callback on an instance of handler with a parameter ud when user activates it.
Namespace: Godot
public void AddToolMenuItem( string name, Object handler, string callback, Object ud = null )
[Missing <param name="name"/> documentation for "M:Godot.EditorPlugin.AddToolMenuItem(System.String,Godot.Object,System.String,System.Object)"]
[Missing <param name="handler"/> documentation for "M:Godot.EditorPlugin.AddToolMenuItem(System.String,Godot.Object,System.String,System.Object)"]
[Missing <param name="callback"/> documentation for "M:Godot.EditorPlugin.AddToolMenuItem(System.String,Godot.Object,System.String,System.Object)"]
[Missing <param name="ud"/> documentation for "M:Godot.EditorPlugin.AddToolMenuItem(System.String,Godot.Object,System.String,System.Object)"]