UnityEditor.EditorGUILayout.GetSliderRect C# (CSharp) Method

GetSliderRect() static private method

static private GetSliderRect ( bool hasLabel ) : Rect
hasLabel bool
return UnityEngine.Rect
        internal static Rect GetSliderRect(bool hasLabel, params GUILayoutOption[] options)
        {
            return GUILayoutUtility.GetRect(!hasLabel ? EditorGUIUtility.fieldWidth : kLabelFloatMinW, (kLabelFloatMaxW + 5f) + 100f, 16f, 16f, EditorStyles.numberField, options);
        }