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