docs.unity.cn
    Show / Hide Table of Contents

    Class RegisterBindingAttribute

    This attribute is used to create a new binding type.

    Inheritance
    Object
    Attribute
    RegisterBindingAttribute
    Namespace: Mechatronics.SystemGraph
    Syntax
    [AttributeUsage(AttributeTargets.Class)]
    public class RegisterBindingAttribute : Attribute, _Attribute

    Constructors

    RegisterBindingAttribute(Type, Boolean)

    Initializes a binding type.

    Declaration
    public RegisterBindingAttribute(Type type, bool exposed = true)
    Parameters
    Type Name Description
    Type type

    Specific binding type.

    Boolean exposed

    If the binding should be exposed by default.

    Fields

    DeclaringType

    Type which this attribute is attached to.

    Declaration
    public Type DeclaringType
    Field Value
    Type Description
    Type

    DefaultExposed

    By default should this binding be exposed in the inspector?

    Declaration
    public bool DefaultExposed
    Field Value
    Type Description
    Boolean
    Back to top Copyright © 2022 Unity Technologies
    Generated by DocFX
    on Tuesday, October 18, 2022
    Terms of use