This version of Unity is unsupported.

ContextMenuItemAttribute Constructor

public ContextMenuItemAttribute(string name, string function);

Parameters

nameThe name of the context menu item.
functionThe name of the function that should be called.

Description

Use this attribute to add a context menu to a field that calls a named method.