/// <summary> /// Slider must be udpdated on enabling and start /// </summary> void UpdateSlider() { if (slider != null && settingsMenu != null) { slider.value = settingsMenu.GetFloatSettingValue(settingName); } }