Assembly: UnityEditor.dll
  
  
    public sealed class GenericMenu
   
  Properties
  
  
    |
    Improve this Doc
  
  
    View Source
  
  
  
  
  
  Declaration
  
    public bool allowDuplicateNames { get; set; }
   
  Property Value
  
  Methods
  
  
    |
    Improve this Doc
  
  
    View Source
  
  
  
  
  
  Declaration
  
    public void AddDisabledItem(GUIContent content)
   
  Parameters
  
  
    |
    Improve this Doc
  
  
    View Source
  
  
  
  
  
  Declaration
  
    public void AddDisabledItem(GUIContent content, bool on)
   
  Parameters
  
  
    |
    Improve this Doc
  
  
    View Source
  
  
  
  
  
  Declaration
  
    public void AddItem(GUIContent content, bool on, GenericMenu.MenuFunction func)
   
  Parameters
  
  
    |
    Improve this Doc
  
  
    View Source
  
  
  
  
  
  Declaration
  
    public void AddItem(GUIContent content, bool on, GenericMenu.MenuFunction2 func, object userData)
   
  Parameters
  
  
    |
    Improve this Doc
  
  
    View Source
  
  
  
  
  
  Declaration
  
    public void AddSeparator(string path)
   
  Parameters
  
    
      
        | Type | Name | Description | 
    
    
      
        | String | path |  | 
    
  
  
    |
    Improve this Doc
  
  
    View Source
  
  
  
  
  
  Declaration
  
    public void DropDown(Rect position)
   
  Parameters
  
    
      
        | Type | Name | Description | 
    
    
      
        | Rect | position |  | 
    
  
  
    |
    Improve this Doc
  
  
    View Source
  
  
  
  
  
  Declaration
  
    public int GetItemCount()
   
  Returns
  
  
    |
    Improve this Doc
  
  
    View Source
  
  
  
  
  
  Declaration
  
    public void ShowAsContext()
   
  Extension Methods