Пример #1
0
 private void Awake()
 {
     if (isOpenLog)
     {
         Logger.GetInstance().logPath = Path.Combine(Application.persistentDataPath, string.Format(logName));
         Logger.GetInstance().maxKb   = logMaxKb;
         Logger.GetInstance().Open();
     }
     if (isOpenBugUpload)
     {
     }
 }
Пример #2
0
 private void OnDestroy()
 {
     Logger.GetInstance().Close();
 }