diff --git a/Scripts/Node.cs b/Scripts/Node.cs index fe898ba..27e32c7 100644 --- a/Scripts/Node.cs +++ b/Scripts/Node.cs @@ -303,6 +303,13 @@ namespace XNode { this.dynamicPortList = dynamicPortList; this.typeConstraint = typeConstraint; } + + /// Mark a serializable field as an output port. You can access this through + /// Should we display the backing value for this port as an editor field? + /// Should we allow multiple connections? + /// If true, will display a reorderable list of outputs instead of a single port. Will automatically add and display values for lists and arrays + [Obsolete("Use constructor with TypeConstraint")] + public OutputAttribute(ShowBackingValue backingValue, ConnectionType connectionType, bool dynamicPortList) : this(backingValue, connectionType, TypeConstraint.None, dynamicPortList) { } } [AttributeUsage(AttributeTargets.Class, AllowMultiple = false)]