Exemplo n.º 1
0
 private void DrawProperty(Rect position, SerializedProperty prop, GUIContent label)
 {
     if (!prop.hasVisibleChildren)
     {
         EditorGUI.PropertyField(position, prop, label);
     }
     else
     {
         EditorPropertyHelper.DrawProperty(position, prop);
     }
 }
Exemplo n.º 2
0
 public override float GetPropertyHeight(SerializedProperty property, GUIContent label)
 {
     return(EditorPropertyHelper.GetPropertyHeight(property));
 }