質問編集履歴
2
マルチポストの胸を記載しました
title
CHANGED
File without changes
|
body
CHANGED
@@ -22,4 +22,7 @@
|
|
22
22
|
var path = Path.Combine(Application.persistentDataPath, "Pictures", fileName);
|
23
23
|
Debug.Log(path);
|
24
24
|
File.WriteAllBytes(path, bytes);
|
25
|
-
```
|
25
|
+
```
|
26
|
+
|
27
|
+
こちらでも回答を募っています
|
28
|
+
[UnauthorizedAccessException: Access to the path '…' is deniedの対処方法について](https://ja.stackoverflow.com/questions/69933/unauthorizedaccessexception-access-to-the-path-is-denied%e3%81%ae%e5%af%be%e5%87%a6%e6%96%b9%e6%b3%95%e3%81%ab%e3%81%a4%e3%81%84%e3%81%a6?noredirect=1#comment77089_69933)
|
1
コードを修正しました
title
CHANGED
File without changes
|
body
CHANGED
@@ -20,7 +20,6 @@
|
|
20
20
|
|
21
21
|
byte[] bytes = tex.EncodeToPNG();
|
22
22
|
var path = Path.Combine(Application.persistentDataPath, "Pictures", fileName);
|
23
|
-
path = Application.persistentDataPath;
|
24
23
|
Debug.Log(path);
|
25
24
|
File.WriteAllBytes(path, bytes);
|
26
25
|
```
|