This class uses the UnityTools module class SerializedTreePropertyDrawerBase to provide a property for Trees The root world transform node is drawn manually first, then the tree of it's children is drawn below that using the base class.
Public Member Functions | |
override float | GetPropertyHeight (SerializedProperty property, GUIContent label) |
computes the height required to draw this control | |
override void | OnGUI (Rect position, SerializedProperty property, GUIContent label) |
draws the Root world transform, and invokes the base class to draw the tree of children transforms below that. | |
![]() | |
override float | GetPropertyHeight (SerializedProperty property, GUIContent label) |
Used to get the height of the tree, when drawn. | |
override void | OnGUI (Rect position, SerializedProperty property, GUIContent label) |
This Code is called upon to perform the actual drawing of the tree. | |