public static CustomSlider CreateUISlider(this VRUIViewController parent, float min, float max, float increment, bool intValues, UnityAction <float> onValueChanged = null)
        {
            CustomSlider scrollbar = BeatSaberUI.CreateUISlider(parent.rectTransform, min, max, increment, intValues, onValueChanged);

            return(scrollbar);
        }
 public static HMUI.Scrollbar CreateUISlider(this VRUIViewController parent, float fromValue, float toValue, bool intValues, UnityAction <float> onValueChanged = null)
 {
     HMUI.Scrollbar scrollbar = BeatSaberUI.CreateUISlider(parent.rectTransform, fromValue, toValue, intValues, onValueChanged);
     return(scrollbar);
 }