コード例 #1
0
 /// <summary>
 /// It will be triggered when the CONTROL state changes and will execute the main flow of the CONTROL controller: OnControlChanged(), ApplySettings() and PostApplySettings().
 /// </summary>
 /// <param name="newValue">Value of the new state. It can be a bool (for toggle controls), a float (for slider controls) or an int (for spin-box controls).</param>
 protected void ApplySetting(object newValue)
 {
     settingsControlController.UpdateSetting(newValue);
     settingsControlController.ApplySettings();
 }