Class InputPorts
Base class for any Node<TInput, TOutput> Inputs port.
Inherited Members
Namespace: UnityEngine .Importer
Assembly: Unity.Importer.dll
Syntax
public abstract class InputPorts
Remarks
Inherit from this class to declare all required Inputs 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;
}
...
}
Fields
AssetLoading
An asset import context provided during the execution of a graph.
Declaration
public AssetLoading AssetLoading
Field Value
Type | Description |
---|---|
Asset |
GraphLogger
A context to store and access logs during the execution of a graph.
Declaration
public GraphLogger GraphLogger
Field Value
Type | Description |
---|---|
Graph |