Class PortTypeEnum
Class PortTypeEnum. Implements the PortType<T> Implements the ISerializationCallbackReceiver
Inherited Members
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
OnBeforeSerialize()
Implement this method to receive a callback before Unity serializes your object.
Declaration
public void OnBeforeSerialize()
Implements
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()