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);