private void DoTest() { string pdPath = PlatformUtil.GetPersistentDataPath() + "/ResVer.txt"; Debug.LogWarning("Exists:" + File.Exists(pdPath)); if (!File.Exists(pdPath)) { File.WriteAllText(pdPath, "txt", Encoding.UTF8); } }
private void DoTest() { string pdPath = PlatformUtil.GetPersistentDataPath() + "/ResVer.txt"; Debug.LogWarning("Exists:" + File.Exists(pdPath)); if (!File.Exists(pdPath)) { File.WriteAllText(pdPath, "txt", Encoding.UTF8); } }