SetGradientData() private method

private SetGradientData ( Gradient gradient ) : void
gradient UnityEngine.Gradient
return void
Esempio n. 1
0
 public static void SetCurrentGradient(Gradient gradient)
 {
     if (s_GradientPicker != null)
     {
         s_GradientPicker.SetGradientData(gradient);
         GUI.changed = true;
     }
 }