public override void OnPointerDown(PointerEventData eventData)
 {
     base.OnPointerDown(eventData);
     if (_ColorPickerSettings != null)
     {
         _ColorPickerSettings.SetPreviewColor(ImagePreview.color);
     }
     if (_CustomMenu != null && _CustomViewController != null)
     {
         _CustomMenu.SetMainViewController(_CustomViewController, false, (firstActivation, type) =>
         {
             if (firstActivation && type == VRUI.VRUIViewController.ActivationType.AddedToHierarchy)
             {
                 _ColorPickerSettings = _CustomViewController.CreateColorPicker(new Vector2(0, -5), new Vector2(0.7f, 0.7f));
                 if (_ColorPickerSettings != null)
                 {
                     _ColorPickerSettings.Initialize(_CustomMenu, ImagePreview.color);
                 }
             }
             _ColorPickerSettings.DidActivate(ImagePreview.color);
         });
         _CustomViewController.didDeactivateEvent += _UpdatingPreviewClickableColor;
         StartCoroutine(_WaitForPresenting());
     }
 }
 public override void OnPointerDown(PointerEventData eventData)
 {
     base.OnPointerDown(eventData);
     if (_ColorPickerSettings != null)
     {
         _ColorPickerSettings.ColorPickerPreview.ImagePreview.color = ImagePreview.color;
     }
     if (_CustomMenu != null && _CustomViewController != null)
     {
         _CustomMenu.SetMainViewController(_CustomViewController, true, (firstActivation, type) =>
         {
             if (firstActivation && type == VRUI.VRUIViewController.ActivationType.AddedToHierarchy)
             {
                 _ColorPickerSettings = _CustomViewController.CreateColorPicker(new Vector2(0, -5), new Vector2(0.7f, 0.7f));
                 if (_ColorPickerSettings != null)
                 {
                     _ColorPickerSettings.ColorPickerPreview.ImagePreview.color = ImagePreview.color;
                     (_ColorPickerSettings.ColorPickerHueSlider.transform as RectTransform).anchoredPosition = new Vector2(0, 35f);
                 }
             }
         });
         _CustomViewController.didDeactivateEvent += _UpdatingPreviewClickableColor;
         StartCoroutine(_WaitForPresenting());
     }
     else
     {
         Console.WriteLine("[BeatSaberCustomUI.ColorPickerPreviewClickable.OnPointerDown]: '_CustomMenu' or '_CustomViewController' was null.");
     }
 }