DrawGradientSwatchInternal() private static method

private static DrawGradientSwatchInternal ( Rect position, Gradient gradient, UnityEditor.SerializedProperty property, Color bgColor ) : void
position UnityEngine.Rect
gradient UnityEngine.Gradient
property UnityEditor.SerializedProperty
bgColor Color
return 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);
 }