mirror of
https://github.com/Siccity/xNode.git
synced 2025-12-21 01:36:03 +08:00
InstandePortLists draw element include children
This commit is contained in:
parent
5ee63d3ee5
commit
c9a4a81c31
@ -303,7 +303,7 @@ namespace XNodeEditor {
|
||||
return;
|
||||
}
|
||||
SerializedProperty itemData = arrayData.GetArrayElementAtIndex(index);
|
||||
EditorGUI.PropertyField(rect, itemData);
|
||||
EditorGUI.PropertyField(rect, itemData, true);
|
||||
} else EditorGUI.LabelField(rect, port.fieldName);
|
||||
Vector2 pos = rect.position + (port.IsOutput?new Vector2(rect.width + 6, 0) : new Vector2(-36, 0));
|
||||
NodeEditorGUILayout.PortField(pos, port);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user