コード例 #1
0
        /// <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();
        }
コード例 #2
0
        /// <summary>
        /// Write the options to disc before we exit this screen
        /// </summary>
        public override void Die()
        {
            base.Die();

            OptionsManager.SaveAssets();
        }