Пример #1
0
        public static void ProgressBar(SerializedProperty property, GUIContent label, GUIStyle style, params GUILayoutOption[] options)
        {
            var position = GUILayoutUtility.GetRect(label, style, options);

            CustomGUI.ProgressBar(position, property, label, style);
        }
Пример #2
0
        public static float ProgressBar(GUIContent label, float value, GUIStyle style, params GUILayoutOption[] options)
        {
            var position = GUILayoutUtility.GetRect(label, style, options);

            return(CustomGUI.ProgressBar(position, label, value, style));
        }