docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Constructor FieldAttribute

    FieldAttribute(string, PortDirection, FieldExtra)

    Creates a FieldAttribute and checks for reserved charactes in the name.

    Declaration
    public FieldAttribute(string displayName, PortDirection dir, FieldExtra readWrite = FieldExtra.Undefined)
    Parameters
    Type Name Description
    string displayName

    Name of the port.

    PortDirection dir

    Direction of the port.

    FieldExtra readWrite

    The functions of the port, see FieldExtra.

    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)