关于System.IO,文件以及文件夹的创建,Bug:UnauthorizedAccessException:Access to the path "/xx/xx.xx" is denied
摘要:
1.需要创建文件夹:Directory.Create(path); 2.需要创建文件path=Application.persistentDataPath+"test.txt",首先使用1创建文件夹,再用File.Create(Path);或者File.WriteAllText(Path,"文本") 阅读全文