internal static float AngularDial( GUIContent label, float angle, Texture thumbTexture, GUIStyle background, GUIStyle thumb, params GUILayoutOption[] options ) { var hasLabel = label != null && label != GUIContent.none; var height = background == null || background.fixedHeight == 0 ? EditorGUIUtility.singleLineHeight : background.fixedHeight; var minWidth = (hasLabel ? EditorGUIUtility.labelWidth : 0f) + (background != null ? background.fixedWidth : 0f); var maxWidth = kLabelFloatMaxW; var rect = GUILayoutUtility.GetRect(minWidth, maxWidth, height, height, background, options); s_LastRect = rect; return(EditorGUI.AngularDial(rect, label, angle, thumbTexture, background, thumb)); }