public bool TryGetSetting(Settings.SettingName setting, Slider slider) { object value; bool result = TryGetSetting(setting, out value); if (result) { slider.value = (float)value; } return(result); }
public void ChangeSetting(Settings.SettingName setting, Slider slider) { ChangeSetting(setting, slider.value); }
public bool TryGetSetting(Settings.SettingName setting, out object value) { return(Settings.TryGetSetting(setting, out value)); }
public void ChangeSetting(Settings.SettingName setting, object value) { Settings.ChangeSetting(setting, value); }