Beispiel #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)
     {
     }
 }
Beispiel #2
0
 private void OnDestroy()
 {
     Logger.GetInstance().Close();
 }