Пример #1
0
        public override EditorGUIElementPlan PlanContentsInternal(EditorGUIElementPlan plan, EditorGUILayoutState state)
        {
            if (HasLabel())
            {
                plan.SplitAtBottomOffset(label_height, out label_plan, out plan);
            }

            return(plan.Shrink(indent_width, 0.0f, 0.0f, 0.0f));
        }
Пример #2
0
 public override EditorGUIElementPlan PlanContentsInternal(EditorGUIElementPlan plan, EditorGUILayoutState state)
 {
     return(plan.Shrink(left, right, bottom, top));
 }