EditorPlugin.addToolMenuItem

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.

struct EditorPlugin
@nogc nothrow
void
addToolMenuItem
(
VariantArg3
)
(
in String name
,,
in String callback
,
in VariantArg3 ud = Variant.nil
)

Meta