Class TestDynamic
Stub expandable node.
Inherited Members
UnityEngine.Object.FindObjectsOfType<T>(System.Boolean)
UnityEngine.Object.FindObjectOfType<T>(System.Boolean)
Namespace: Mechatronics.SystemGraph.Test
Syntax
[NodeCategory("Test", "DynamicPorts", NodeTick.Synchronous, (LifeCycle)0, 0F, NodeMode.Standard, false, Expandable = true)]
public class TestDynamic : NodeExpandable
Methods
GetAllowedPortTypes()
Called from the editor to get the allowed port types override the function to return a custom list of ports to add.
Declaration
public override IEnumerable<Type> GetAllowedPortTypes()
Returns
| Type | Description |
|---|---|
| IEnumerable<Type> | Enumerator of allowed types |