public static void SetCurrentGradient(Gradient gradient) { if (s_GradientPicker != null) { s_GradientPicker.SetGradientData(gradient); GUI.changed = true; } }