Class OutputPorts
Base class for any Node<TInput, TOutput> Outputs port.
Inherited Members
Namespace: UnityEngine .Importer
Assembly: Unity.Importer.dll
Syntax
public abstract class OutputPorts
Remarks
Inherit from this class to declare all expected Outputs for a given node.
Examples
using UnityEngine;
public class AddCameraNode : Node<AddCameraNode.MyInputPort, AddCameraNode.MyOutputPort>
{
public class MyInputPort : InputPorts
{
public GameObject root; // The GameObject on which we want to add the camera component
public Color backgroundColor; // The backgroundColor set on the Camera
}
public class MyOutputPort : OutputPorts
{
public GameObject root;
}
...
}