/// <summary> /// Sets both input and output fields of connected nodes to reference to connected nodes if the /// fields are of that type /// </summary> /// <param name="otherPort"></param> private void SetBackingValuesIfCorrectTypes(NodePort otherPort) { SetBackingValueIfCorrectType(otherPort.node); otherPort.SetBackingValueIfCorrectType(node); }