Platformer Pro  2.3.2
A platform game kit for Unity.
XNode.Node.InputAttribute Class Reference

Mark a serializable field as an input port. You can access this through GetInputPort(string) More...

Inheritance diagram for XNode.Node.InputAttribute:

Public Member Functions

 InputAttribute (ShowBackingValue backingValue=ShowBackingValue.Unconnected, ConnectionType connectionType=ConnectionType.Multiple, TypeConstraint typeConstraint=TypeConstraint.None, bool dynamicPortList=false)
 Mark a serializable field as an input port. You can access this through GetInputPort(string) More...
 

Public Attributes

ShowBackingValue backingValue
 
ConnectionType connectionType
 
bool dynamicPortList
 
TypeConstraint typeConstraint
 

Properties

bool instancePortList [get, set]
 

Detailed Description

Mark a serializable field as an input port. You can access this through GetInputPort(string)

Constructor & Destructor Documentation

◆ InputAttribute()

XNode.Node.InputAttribute.InputAttribute ( ShowBackingValue  backingValue = ShowBackingValue.Unconnected,
ConnectionType  connectionType = ConnectionType.Multiple,
TypeConstraint  typeConstraint = TypeConstraint.None,
bool  dynamicPortList = false 
)

Mark a serializable field as an input port. You can access this through GetInputPort(string)

Parameters
backingValueShould we display the backing value for this port as an editor field?
connectionTypeShould we allow multiple connections?
typeConstraintConstrains which input connections can be made to this port
dynamicPortListIf true, will display a reorderable list of inputs instead of a single port. Will automatically add and display values for lists and arrays

Member Data Documentation

◆ backingValue

ShowBackingValue XNode.Node.InputAttribute.backingValue

◆ connectionType

ConnectionType XNode.Node.InputAttribute.connectionType

◆ dynamicPortList

bool XNode.Node.InputAttribute.dynamicPortList

◆ typeConstraint

TypeConstraint XNode.Node.InputAttribute.typeConstraint

Property Documentation

◆ instancePortList

bool XNode.Node.InputAttribute.instancePortList
getset

The documentation for this class was generated from the following file: