예제 #1
0
        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);
        }
예제 #2
0
        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));
        }