Exemplo n.º 1
0
 public static void DrawTwoValueFieldEnum(Rect position, GUIContent label, float labelWidth, bool lowWidth,
                                          GUIContent labelOne, SerializedProperty propertyOne,
                                          GUIContent labelTwo, SerializedProperty propertyTwo)
 {
     MultiValueFields.DrawTwoValueFieldAutoWidth(position, label, labelWidth, lowWidth,
                                                 labelOne, propertyOne, labelTwo, propertyTwo, ValueType.Enum);
 }
Exemplo n.º 2
0
 public static void DrawThreeValueFieldString(Rect position, GUIContent label, float labelWidth, bool lowWidth,
                                              GUIContent labelOne, SerializedProperty propertyOne,
                                              GUIContent labelTwo, SerializedProperty propertyTwo,
                                              GUIContent labelThree, SerializedProperty propertyThree)
 {
     MultiValueFields.DrawThreeValueFieldAutoWidth(position, label, labelWidth, lowWidth,
                                                   labelOne, propertyOne, labelTwo, propertyTwo, labelThree, propertyThree, ValueType.String);
 }
Exemplo n.º 3
0
 public static void DrawTwoValueFieldColor(Rect position, GUIContent label, float labelWidth, bool lowWidth,
                                           GUIContent labelOne, SerializedProperty propertyOne,
                                           GUIContent labelTwo, SerializedProperty propertyTwo)
 {
     MultiValueFields.DrawTwoValueFieldManualWidth(
         position, label, labelWidth,
         lowWidth, 20f,
         labelOne, propertyOne,
         labelTwo, propertyTwo, ValueType.Color);
 }