We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 57c4dbd commit ee69f58Copy full SHA for ee69f58
Code/Runtime/OlegHcp/NodeBased/README.md
@@ -69,7 +69,7 @@ public class ExampleNodeDrawer : NodeDrawer
69
{
70
protected override float GetHeight(SerializedProperty property)
71
72
- return base.GetHeight(property) * 2f;
+ return base.GetHeight(property) * 2f + EditorGUIUtility.standardVerticalSpacing;
73
}
74
75
protected override Color GetHeaderColor(bool rootNode)
@@ -79,7 +79,6 @@ public class ExampleNodeDrawer : NodeDrawer
79
80
protected override void OnGui(SerializedProperty property, float width)
81
82
- EditorGUIUtility.labelWidth = width * 0.5f;
83
EditorGUILayout.LabelField("Overridden", "Qwerty");
84
GUILayout.Button("Button");
85
_images/NodeBased5.png
390 Bytes
0 commit comments