From 51746307b1ef6ffc16b01aa04bf37b5b4fac6886 Mon Sep 17 00:00:00 2001 From: Thor Brigsted Date: Tue, 23 Jan 2018 12:32:59 +0100 Subject: [PATCH] Documentation corrections --- Scripts/Node.cs | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/Scripts/Node.cs b/Scripts/Node.cs index 2c2ff9b..c1883d3 100644 --- a/Scripts/Node.cs +++ b/Scripts/Node.cs @@ -35,9 +35,9 @@ namespace XNode { } public enum ConnectionType { - /// Allow multiple connections + /// Allow multiple connections Multiple, - /// always override the current connection + /// always override the current connection Override, } @@ -200,13 +200,13 @@ namespace XNode { return JsonUtility.ToJson(this).GetHashCode(); } - /// Mark a serializable field as an input port. You can access this through + /// Mark a serializable field as an input port. You can access this through [AttributeUsage(AttributeTargets.Field, AllowMultiple = true)] public class InputAttribute : Attribute { public ShowBackingValue backingValue; public ConnectionType connectionType; - /// Mark a serializable field as an input port. You can access this through + /// Mark a serializable field as an input port. You can access this through /// Should we display the backing value for this port as an editor field? /// Should we allow multiple connections? public InputAttribute(ShowBackingValue backingValue = ShowBackingValue.Unconnected, ConnectionType connectionType = ConnectionType.Multiple) { @@ -215,13 +215,13 @@ namespace XNode { } } - /// Mark a serializable field as an output port. You can access this through + /// Mark a serializable field as an output port. You can access this through [AttributeUsage(AttributeTargets.Field, AllowMultiple = true)] public class OutputAttribute : Attribute { public ShowBackingValue backingValue; public ConnectionType connectionType; - /// Mark a serializable field as an output port. You can access this through + /// 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? public OutputAttribute(ShowBackingValue backingValue = ShowBackingValue.Never, ConnectionType connectionType = ConnectionType.Multiple) {