docs.unity.cn
    Show / Hide Table of Contents

    Class FieldGameObject

    FieldGameObject, represents a GameObject field type. Implements the FieldType

    Inheritance
    Object
    FieldType
    FieldGameObject
    Inherited Members
    FieldType.kLiveUpdatePeriodMs
    FieldType._visual
    FieldType._scheduledItem
    FieldType.Editor
    FieldType.SetPortView(PortView)
    FieldType.GetPortView()
    FieldType.SynchronizePortValue()
    FieldType.BindVisual(VisualElement[])
    FieldType.PortValueChange()
    Namespace: Mechatronics.SystemGraph
    Syntax
    [Serializable]
    public class FieldGameObject : FieldType

    Constructors

    FieldGameObject(INodeEditor, Object)

    Initializes a new instance of the FieldGameObject class.

    Declaration
    public FieldGameObject(INodeEditor editor, object inData = null)
    Parameters
    Type Name Description
    INodeEditor editor

    The editor.

    Object inData

    The data binding.

    Properties

    Data

    Gets or sets the data.

    Declaration
    public PortTypeGameObject Data { get; set; }
    Property Value
    Type Description
    PortTypeGameObject

    The data.

    PortType

    Gets the type of the port.

    Declaration
    public PortTypeGameObject PortType { get; }
    Property Value
    Type Description
    PortTypeGameObject

    The type of the port.

    Methods

    OnValueChanged(ChangeEvent<String>)

    Called when [value changed].

    Declaration
    public void OnValueChanged(ChangeEvent<string> e)
    Parameters
    Type Name Description
    ChangeEvent<String> e

    The event.

    See Also

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