GenericMenu.AddItem

function AddItem (content : GUIContent, on : boolean, func : MenuFunction) : void

Description

Add an item to the menu

See Also: GenericMenu.AddDisabledItem, GenericMenu.AddSeparator

function AddItem (content : GUIContent, on : boolean, func : MenuFunction2, userData : object) : void

Description

Add an item to the menu

See Also: GenericMenu.AddDisabledItem, GenericMenu.AddSeparator