/// <summary> /// Save the options to disc before we hide this dialog (corresponds to leaving the dialog) /// </summary> public override void Hide(bool hideChildren = true) { base.Hide(hideChildren); OptionsManager.SaveAssets(); }
/// <summary> /// Write the options to disc before we exit this screen /// </summary> public override void Die() { base.Die(); OptionsManager.SaveAssets(); }