docs.unity.cn
    Show / Hide Table of Contents

    Class FieldBox<U>

    Class FieldBox. Implements the IFieldBox

    Inheritance
    Object
    IFieldBox
    FieldBox<U>
    Namespace: Mechatronics.SystemGraph
    Syntax
    [Serializable]
    public class FieldBox<U> : IFieldBox
    Type Parameters
    Name Description
    U

    Constructors

    FieldBox()

    Default Constructor

    Declaration
    public FieldBox()

    FieldBox(U)

    Constructor for default value

    Declaration
    public FieldBox(U defaultValue)
    Parameters
    Type Name Description
    U defaultValue

    Default value to set Field initially.

    Fields

    Field

    The field to wrap in the fieldbox

    Declaration
    [SerializeField]
    public U Field
    Field Value
    Type Description
    U

    Methods

    GetFieldInfo()

    Gets the field information.

    Declaration
    public override FieldInfo GetFieldInfo()
    Returns
    Type Description
    FieldInfo

    FieldInfo.

    Overrides
    IFieldBox.GetFieldInfo()

    See Also

    IFieldBox
    Back to top Copyright © 2022 Unity Technologies
    Generated by DocFX
    on Tuesday, October 18, 2022
    Terms of use