Пример #1
0
 static void Postfix()
 {
     try
     {
         Data.DataContainer.OnYearEnd();
         Mod.OnYearEnd();
     }
     catch (Exception ex)
     {
         DebugExt.HandleException(ex);
     }
 }
Пример #2
0
 void Update()
 {
     if (Settings.debug)
     {
         if (Input.GetKeyDown(Settings.keycode_yearSummary))
         {
             try
             {
                 PrintYearStatsSummary();
             }
             catch (Exception ex)
             {
                 DebugExt.HandleException(ex);
             }
         }
     }
 }