public static void ProgressBarWithLabel(SerializedProperty property, GUIContent label, GUIStyle style, params GUILayoutOption[] options) { var position = GUILayoutUtility.GetRect(label, style, options); CustomGUI.ProgressBarWithLabel(position, property, label, style); }
public static float ProgressBarWithLabel(GUIContent label, float value, GUIStyle style, params GUILayoutOption[] options) { var position = GUILayoutUtility.GetRect(label, style, options); return(CustomGUI.ProgressBarWithLabel(position, label, value, style)); }