コード例 #1
0
        public static FloatRange FloatRange(GUIContent label, FloatRange value)
        {
            Rect rect = EditorGUILayout.GetControlRect(GUILayout.ExpandWidth(true), GUILayout.Height(EditorGUIUtility.singleLineHeight));

            return(ExtendedGUI.FloatRange(rect, label, value));
        }
コード例 #2
0
 public override void OnGUI(Rect rect, SerializedProperty property, GUIContent label)
 {
     ExtendedGUI.FloatRange(rect, label, property);
 }
コード例 #3
0
        public static void FloatRange(GUIContent label, SerializedProperty property)
        {
            Rect rect = EditorGUILayout.GetControlRect(GUILayout.ExpandWidth(true), GUILayout.Height(EditorGUIUtility.singleLineHeight));

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