Пример #1
0
        public static void Load()
        {
            try
            {
                Current        = filePath.ReadXml <LocalQuestsSettings>();
                Current.IsLoad = true;
            }
            catch (Exception ex)
            {
#if DEBUG
                Current        = GetInitialSettings();
                Current.IsLoad = false;
                System.Diagnostics.Debug.WriteLine(ex);
#endif
            }
        }
Пример #2
0
        public static void Load()
        {
            try
            {
                Current = filePath.ReadXml<LocalQuestsSettings>();
                Current.IsLoad = true;
            }
            catch (Exception ex)
            {
#if DEBUG
                Current = GetInitialSettings();
                Current.IsLoad = false;
                System.Diagnostics.Debug.WriteLine(ex);

#endif
            }
        }