public static void SetSdkLogPath() { AppLog._currentSdkLogPath = PlayerPrefs.GetString("CurrentSdkLogPathKey"); AppLog._prevSdkLogPath = PlayerPrefs.GetString("PrevSdkLogPathKey"); AppLog._fileWriter.RemoveFile(AppLog._prevSdkLogPath); AppLog._prevSdkLogPath = null; if (!string.IsNullOrEmpty(AppLog._currentSdkLogPath)) { AppLog._prevSdkLogPath = AppLog._currentSdkLogPath; } AppLog._currentSdkLogPath = AppLog.GetSdkLogPath(); Debug.Log(string.Concat("SDK LOG - ", AppLog._currentSdkLogPath)); PlayerPrefs.SetString("CurrentSdkLogPathKey", AppLog._currentSdkLogPath); PlayerPrefs.SetString("PrevSdkLogPathKey", AppLog._prevSdkLogPath); }