diff --git a/Scripts/Editor/NodeEditorGUI.cs b/Scripts/Editor/NodeEditorGUI.cs index ee339b9..70f7d54 100644 --- a/Scripts/Editor/NodeEditorGUI.cs +++ b/Scripts/Editor/NodeEditorGUI.cs @@ -446,7 +446,7 @@ namespace XNodeEditor { Type type = hoveredPort.ValueType; GUIContent content = new GUIContent(); content.text = type.PrettyName(); - if (hoveredPort.IsStatic && hoveredPort.IsOutput) { + if (hoveredPort.IsOutput) { object obj = hoveredPort.node.GetValue(hoveredPort); content.text += " = " + (obj != null ? obj.ToString() : "null"); } diff --git a/Scripts/Node.cs b/Scripts/Node.cs index 7e9a4ac..111ee18 100644 --- a/Scripts/Node.cs +++ b/Scripts/Node.cs @@ -57,7 +57,7 @@ namespace XNode { [SerializeField] public NodeGraph graph; /// Position on the [SerializeField] public Vector2 position; - /// Input s. It is recommended not to modify these at hand. Instead, see + /// It is recommended not to modify these at hand. Instead, see and [SerializeField] private NodePortDictionary ports = new NodePortDictionary(); protected void OnEnable() {