docs.unity.cn
    Show / Hide Table of Contents

    Class PortTypeEnum

    Class PortTypeEnum. Implements the PortType<T> Implements the ISerializationCallbackReceiver

    Inheritance
    Object
    IPortType
    PortType<Enum>
    PortTypeEnum
    Inherited Members
    PortType<Enum>.Data
    PortType<Enum>.CreateFieldBox()
    PortType<Enum>.TrySetValue(Object)
    PortType<Enum>.TryGetValue()
    PortType<Enum>.Synchronize()
    PortType<Enum>.Propagate(Double)
    PortType<Enum>.WriteRaw
    PortType<Enum>.Write
    PortType<Enum>.ReadRaw
    PortType<Enum>.Read
    PortType<Enum>.Ref()
    PortType<Enum>.SetOnChangeClockRisingEdge(Boolean)
    PortType<Enum>.CopyFrom(PortType<Enum>)
    IPortType.globalId
    IPortType.uniqueId
    IPortType.synchronizeAfterLinking
    IPortType.Clock
    IPortType.ChangeEvent
    IPortType.Batching
    IPortType.SignalBatch
    IPortType.Connected
    IPortType.Driver
    IPortType.SetConnected(Boolean)
    IPortType.SetSynchronizeAfterLinking(Boolean)
    IPortType.SetAsDriver(Object)
    IPortType.BeginBatch()
    IPortType.EndBatch()
    IPortType.TypeNiceName(Type)
    Namespace: Mechatronics.SystemGraph
    Syntax
    [Serializable]
    public class PortTypeEnum : PortType<Enum>, ISerializationCallbackReceiver

    Constructors

    PortTypeEnum(PortType<Enum>)

    Initializes a new instance of the PortTypeEnum class.

    Declaration
    public PortTypeEnum(PortType<Enum> p)
    Parameters
    Type Name Description
    PortType<Enum> p

    The p.

    PortTypeEnum(Object)

    Initializes a new instance of the PortTypeEnum class.

    Declaration
    public PortTypeEnum(object enumDefaultValue)
    Parameters
    Type Name Description
    Object enumDefaultValue

    The enum default value.

    Methods

    OnAfterDeserialize()

    Implement this method to receive a callback after Unity deserializes your object.

    Declaration
    public void OnAfterDeserialize()
    Implements
    ISerializationCallbackReceiver.OnAfterDeserialize()

    OnBeforeSerialize()

    Implement this method to receive a callback before Unity serializes your object.

    Declaration
    public void OnBeforeSerialize()
    Implements
    ISerializationCallbackReceiver.OnBeforeSerialize()

    ToString()

    Returns a String that represents this instance.

    Declaration
    public override string ToString()
    Returns
    Type Description
    String

    A String that represents this instance.

    Overrides
    Mechatronics.SystemGraph.PortType<System.Enum>.ToString()

    See Also

    PortType<T>
    ISerializationCallbackReceiver
    Back to top Copyright © 2022 Unity Technologies
    Generated by DocFX
    on Tuesday, October 18, 2022
    Terms of use