docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Constructor InputAttribute

    InputAttribute(string, InputFlags)

    Constructs an input attribute with the name passed as argument.

    Declaration
    public InputAttribute(string name = null, InputFlags flags = InputFlags.None)
    Parameters
    Type Name Description
    string name

    Name that is to be used for the property.

    InputFlags flags
    Remarks

    By default the property type name will be used for display purposes. Alternatively, an override name can be passed to the input attribute constructor.

    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)