Пример #1
0
 public static void DrawTwoValueFieldFloat(Rect position, GUIContent label, float labelWidth, bool lowWidth,
                                           GUIContent labelOne, MaterialProperty propertyOne,
                                           GUIContent labelTwo, MaterialProperty propertyTwo)
 {
     MultiValueFieldsMaterial.DrawTwoValueFieldAutoWidth(position, label, labelWidth, lowWidth,
                                                         labelOne, propertyOne, labelTwo, propertyTwo, ValueType.Float);
 }
Пример #2
0
 public static void DrawThreeValueFieldBool(Rect position, GUIContent label, float labelWidth, bool lowWidth,
                                            GUIContent labelOne, MaterialProperty propertyOne,
                                            GUIContent labelTwo, MaterialProperty propertyTwo,
                                            GUIContent labelThree, MaterialProperty propertyThree)
 {
     MultiValueFieldsMaterial.DrawThreeValueFieldManualWidth(
         position, label, labelWidth,
         lowWidth, 20f,
         labelOne, propertyOne,
         labelTwo, propertyTwo,
         labelThree, propertyThree, ValueType.Bool);
 }