1
0
mirror of https://github.com/Siccity/xNode.git synced 2025-12-20 09:16:01 +08:00

Fixed commenting

This commit is contained in:
Thor Brigsted 2018-05-13 13:29:12 +02:00
parent 61ca00ce31
commit 7a1726b342
2 changed files with 3 additions and 3 deletions

View File

@ -181,7 +181,7 @@ namespace XNode {
else return fallback;
}
/// <summary> Returns a value based on requested port output. Should be overridden before used. </summary>
/// <summary> Returns a value based on requested port output. Should be overridden in all derived nodes with outputs. </summary>
/// <param name="port">The requested port.</param>
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) { }
/// <summary> Called after a connection is removed from this port </summary>
/// <param name="from">Output</param> <param name="to">Input</param>
/// <param name="port">Output or Input</param>
public virtual void OnRemoveConnection(NodePort port) { }
/// <summary> Disconnect everything from this node </summary>

View File

@ -34,7 +34,7 @@ namespace XNode {
}
/// <summary> Safely remove a node and all its connections </summary>
/// <param name="node"></param>
/// <param name="node"> The node to remove </param>
public void RemoveNode(Node node) {
node.ClearConnections();
nodes.Remove(node);