private void SaveSettings()
        {
            _sectionMediaInfo.Save();
            _sectionDebug.Save();
            _sectionSettings.Save();
            _sectionAboutHelp.Save();

            foreach (AnimCollapseSection section in _settingSections)
            {
                section.Save();
            }
            foreach (AnimCollapseSection section in _platformSections)
            {
                section.Save();
            }

            _sectionDevModeState.Save();
            _sectionDevModeTexture.Save();
            _sectionDevModePlaybackQuality.Save();
            _sectionDevModeHapNotchLCDecoder.Save();
            _sectionDevModeBufferedFrames.Save();

            EditorPrefs.SetInt(SettingsPrefix + "PlatformIndex", _platformIndex);
            EditorPrefs.SetBool(SettingsPrefix + "ShowAlphaChannel", _showAlpha);
            EditorPrefs.SetBool(SettingsPrefix + "ShowPreview", _showPreview);
            EditorPrefs.SetBool(SettingsPrefix + "AllowDeveloperMode", _allowDeveloperMode);
            EditorPrefs.SetBool(SettingsPrefix + "HTTPHeadersToggle", _HTTPHeadersToggle);
            RecentItems.Save();
        }
Пример #2
0
 private void Callback_ClearMissingFiles()
 {
     RecentItems.ClearMissingFiles();
     RecentItems.Save();
 }
Пример #3
0
 private void Callback_ClearList(object obj)
 {
     ((List <string>)obj).Clear();
     RecentItems.Save();
 }