Namespace Holoride.ElasticSDK.Graph.Portals
Classes
PortalInputNode<TData>
Base class for all portal input nodes, taking care of common logic. Each portal type will need to sub-class a pair of this and PortalOutputNode<TData, TInputNode>. Due to Unity not supporting file-local identifiers for .cs files, implementations have to live in separate source files, so they can be assigned distinct GUIDs for serialization.
PortalOutputNode<TData, TInputNode>
Base class for all portal output nodes, taking care of common logic. Each portal type will need to sub-class a pair of this and PortalInputNode<TData>. Due to Unity not supporting file-local identifiers for .cs files, implementations have to live in separate source files, so they can be assigned distinct GUIDs for serialization.
Interfaces
IPortalInputNode
Nodes implementing this interface can act as portal inputs and will be handled accordingly by GetOutputSinkPorts(string).
IPortalOutputNode
Nodes implementing this interface can act as portal outputs and will be handled accordingly by GetInputSourcePorts(string).