public static void Show(Gradient newGradient, bool hdr, Action <Gradient> onGradientChanged)
 {
     GradientPicker.PrepareShow(hdr);
     GradientPicker.s_GradientPicker.m_DelegateView = null;
     GradientPicker.s_GradientPicker.m_Delegate     = onGradientChanged;
     GradientPicker.s_GradientPicker.Init(newGradient, hdr);
     GradientPreviewCache.ClearCache();
 }
        public static void Show(Gradient newGradient, bool hdr)
        {
            GUIView current = GUIView.current;

            GradientPicker.PrepareShow(hdr);
            GradientPicker.s_GradientPicker.m_DelegateView = current;
            GradientPicker.s_GradientPicker.m_Delegate     = null;
            GradientPicker.s_GradientPicker.Init(newGradient, hdr);
            GradientPreviewCache.ClearCache();
        }