docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Constructor MainMenuItemAttribute

    MainMenuItemAttribute(bool)

    Custom constructor for hiding item from the main menu

    Declaration
    public MainMenuItemAttribute(bool shown)
    Parameters
    Type Name Description
    bool shown

    MainMenuItemAttribute(string, string, string, Type)

    Constructor

    Declaration
    public MainMenuItemAttribute(string name, string sectionName, string description, Type tooltipType = null)
    Parameters
    Type Name Description
    string name

    Display name of this tool, action, workspace, etc.

    string sectionName

    Section to place this tool, action, workspace, etc.

    string description

    Description of this tool, action, workspace, etc.

    Type tooltipType

    (Optional) Tooltip type if a tooltip is needed

    In This Article
    Back to top
    Copyright © 2024 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)