Пример #1
0
 protected float GetHeaderHeight(float width)
 {
     if (editableHeader)
     {
         return(LudiqGUI.GetHeaderHeight(this, headerTitleMetadata, headerSummaryMetadata, description.icon, width, false));
     }
     else
     {
         return(LudiqGUI.GetHeaderHeight(headerContent, width, false));
     }
 }
Пример #2
0
 protected float GetHeaderHeight(float width)
 {
     return(LudiqGUI.GetHeaderHeight
            (
                this,
                titleMetadata,
                summaryMetadata,
                icon,
                width
            ));
 }
Пример #3
0
 private float GetHeaderHeight(float width)
 {
     return(LudiqGUI.GetHeaderHeight
            (
                this,
                labelMetadata,
                commentMetadata,
                icon,
                width,
                true
            ));
 }
Пример #4
0
        protected override float GetHeight(float width, GUIContent label)
        {
            var height = 0f;

            if (editableHeader)
            {
                height += LudiqGUI.GetHeaderHeight(this, headerTitleMetadata, headerSummaryMetadata, description.icon, width, false);
            }
            else
            {
                height += LudiqGUI.GetHeaderHeight(headerContent, width, false);
            }

            height += GetWrappedInspectorHeight(width);

            if (exception != null)
            {
                height += GetExceptionHeight(width);
            }

            return(height);
        }
Пример #5
0
 protected virtual float GetHeaderHeight(float width)
 {
     return(LudiqGUI.GetHeaderHeight(this, headerTitleMetadata, headerSummaryMetadata, null, LudiqGUIUtility.currentInspectorWidthWithoutScrollbar));
 }
Пример #6
0
 protected float GetHeaderHeight(float width)
 {
     return(LudiqGUI.GetHeaderHeight(GetHeaderTitleHeight, GetHeaderSummaryHeight, showIcon, width));
 }