コード例 #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));
        }