Function update_setting_by_id

Source
pub fn update_setting_by_id(
    setting_id: &str,
    new_value: SettingValue,
    settings_query: Query<'_, '_, (Entity, &mut Setting)>,
    commands: Commands<'_, '_>,
) -> bool
Expand description

Helper function to update a setting value by ID