public static void DoFileFlagging(string filePath) { #if UNITY_IOS UnityEngine.iOS.Device.SetNoBackupFlag(filePath); #endif }
private static void LogText(string logString) { File.AppendAllText(GetLogPath(), logString); if (new System.IO.FileInfo(GetLogPath()).Length > deleteThreshhold) { File.Delete(GetLogPath()); } SenseixSession.DoFileFlagging(GetLogPath()); }