GenericMenu.AddItem

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

Description

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

Description