We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 118429a commit e017b1dCopy full SHA for e017b1d
Assets/com.alelievr.NodeGraphProcessor/Editor/Views/BaseNodeView.cs
@@ -666,7 +666,11 @@ protected virtual void SetNodeColor(Color color)
666
667
private void AddEmptyField(FieldInfo field, bool fromInspector)
668
{
669
- if(field.GetCustomAttribute(typeof(InputAttribute)) == null || fromInspector) return;
+ if (field.GetCustomAttribute(typeof(InputAttribute)) == null || fromInspector)
670
+ return;
671
+
672
+ if (field.GetCustomAttribute<VerticalAttribute>() != null)
673
674
675
var box = new VisualElement {name = field.Name};
676
box.AddToClassList("port-input-element");
0 commit comments