Esempio n. 1
0
        public static IntRange IntRange(GUIContent label, IntRange value)
        {
            Rect rect = EditorGUILayout.GetControlRect(GUILayout.ExpandWidth(true), GUILayout.Height(EditorGUIUtility.singleLineHeight));

            return(ExtendedGUI.IntRange(rect, label, value));
        }
Esempio n. 2
0
 public override void OnGUI(Rect rect, SerializedProperty property, GUIContent label)
 {
     ExtendedGUI.IntRange(rect, label, property);
 }
Esempio n. 3
0
        public static void IntRange(GUIContent label, SerializedProperty property)
        {
            Rect rect = EditorGUILayout.GetControlRect(GUILayout.ExpandWidth(true), GUILayout.Height(EditorGUIUtility.singleLineHeight));

            ExtendedGUI.IntRange(rect, label, property);
        }