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);
 }