Exemplo n.º 1
0
 public static void OnListAllCustomDataInFile()
 {
     try
     {
         SaveDataUtils.ListDataKeysToLog();
     }
     catch (Exception ex)
     { Logger.dbgLog("", ex); }
 }
Exemplo n.º 2
0
 //This runs way late in the process Post Data.Deseralize() and Post Data.AfterDeserialize()
 //It basically doesn't get called till SimManager.LateUpdate()  gets called which is after(I think) LateUpdate()
 //has been called on all the managers.Effectively it's onLevelLoaded for DataExtentions Class
 public override void OnLoadData()
 {
     if (OptionsWrapper <Configuration> .Options.IsLoggingEnabled())
     {
         Logger.dbgLog("OnLoadData() fired");
     }
     try
     {
         if (OptionsWrapper <Configuration> .Options.IsLoggingEnabled() && OptionsWrapper <Configuration> .Options.DebugLoggingLevel > 1)
         {
             SaveDataUtils.ListDataKeysToLog();
         }
     }
     catch (Exception ex)
     { Logger.dbgLog(ex.ToString()); }
 }