Пример #1
0
        public override float GetPropertyHeight(SerializedProperty property, GUIContent label)
        {
            FillProps(property);
            var h = EditorGUIExtensions.GetPropertesHeightWithLabelProperty(props, property);

            if (GetRectTransform(property) != null && property.isExpanded)
            {
                h += bh;
            }
            return(h);
        }
Пример #2
0
 public override float GetPropertyHeight(SerializedProperty property, GUIContent label)
 {
     FillProps(property);
     return(EditorGUIExtensions.GetPropertesHeightWithLabelProperty(props, property));
 }