From 7a1726b3428f3846a2d972e2028a204b45622ce3 Mon Sep 17 00:00:00 2001 From: Thor Brigsted Date: Sun, 13 May 2018 13:29:12 +0200 Subject: [PATCH] Fixed commenting --- Scripts/Node.cs | 4 ++-- Scripts/NodeGraph.cs | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Scripts/Node.cs b/Scripts/Node.cs index ad2889f..7e9a4ac 100644 --- a/Scripts/Node.cs +++ b/Scripts/Node.cs @@ -181,7 +181,7 @@ namespace XNode { else return fallback; } - /// Returns a value based on requested port output. Should be overridden before used. + /// Returns a value based on requested port output. Should be overridden in all derived nodes with outputs. /// The requested port. public virtual object GetValue(NodePort port) { Debug.LogWarning("No GetValue(NodePort port) override defined for " + GetType()); @@ -194,7 +194,7 @@ namespace XNode { public virtual void OnCreateConnection(NodePort from, NodePort to) { } /// Called after a connection is removed from this port - /// Output Input + /// Output or Input public virtual void OnRemoveConnection(NodePort port) { } /// Disconnect everything from this node diff --git a/Scripts/NodeGraph.cs b/Scripts/NodeGraph.cs index e9fe75f..d6d766c 100644 --- a/Scripts/NodeGraph.cs +++ b/Scripts/NodeGraph.cs @@ -34,7 +34,7 @@ namespace XNode { } /// Safely remove a node and all its connections - /// + /// The node to remove public void RemoveNode(Node node) { node.ClearConnections(); nodes.Remove(node);