Exemple #1
0
 public void SetSetting(string name, int?newValue = null, int?newMin = null, int?newMax = null, float?newMultiplier = null)
 {
     Settings.SetWorldValue(name, newValue, newMin, newMax, newMultiplier);
     MyWorldGrid.SetValue(name, Settings[name].GetValue());
 }
Exemple #2
0
 public void ChangeSetting(string name, int change)
 {
     Settings.ChangeValueBy(name, change);
     MyWorldGrid.SetValue(name, Settings[name].GetValue());
 }