◆ OnGUI()

override void OnGUI ( Rect  position,
SerializedProperty  property,
GUIContent  label 
)

draws the root node, then calls recursive function to draw descendants

draws the root node, then calls recursive function to draw descendants

Parameters
positionlocation to draw the tree
propertySerializedProperty that references the tree
labelLabel of the Tree.