DrawGradientSwatchInternal() приватный статический Метод

private static DrawGradientSwatchInternal ( Rect position, Gradient gradient, UnityEditor.SerializedProperty property, Color bgColor ) : void
position UnityEngine.Rect
gradient UnityEngine.Gradient
property UnityEditor.SerializedProperty
bgColor Color
Результат void
Пример #1
0
 public static void DrawGradientSwatch(Rect position, Gradient gradient, Color bgColor)
 {
     GradientEditor.DrawGradientSwatchInternal(position, gradient, null, bgColor);
 }
Пример #2
0
 public static void DrawGradientSwatch(Rect position, SerializedProperty property, Color bgColor)
 {
     GradientEditor.DrawGradientSwatchInternal(position, null, property, bgColor);
 }
Пример #3
0
 public static void DrawGradientSwatch(Rect position, Gradient gradient, Color bgColor)
 {
     GradientEditor.DrawGradientSwatchInternal(position, gradient, (SerializedProperty)null, bgColor);
 }