docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Constructor UserParameter

    UserParameter(string, string, string, string, bool, bool)

    Construct UserParameter

    Declaration
    public UserParameter(string visibilityCheck = null, string enablingCheck = null, string tooltip = null, string displayName = null, bool collapsable = false, bool compacted = false)
    Parameters
    Type Name Description
    string visibilityCheck

    Function's name to check if this parameter is displayed

    string enablingCheck

    Name of the function that should be used to check if a parameter is editable

    string tooltip

    The tooltip that will be displayed for this parameter

    string displayName

    The name for this parameter that will be displayed in the UI

    bool collapsable

    Should this parameter be collapsable

    bool compacted

    Should this parameter be displayed on a single lines, without the name of it inner variables

    In This Article
    Back to top
    Copyright © 2025 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)