1
我正在使用Unity爲手機創建遊戲,並且我需要存儲一些數據以進行保存。 我使用WriteAllBytes
爲它確定在Android中,但當我嘗試編譯WP8我得到這個錯誤在Unity3d中將文本文件存儲在WP8中
"WriteAllBytes(System.String,System.Byte[])` doesn't exist in target framework. It is referenced from Assembly-CSharp.dll"
我如何避免這種情況?
如果我不能使用這然後請給我一種方式來存儲WP8文本。 Tnx。
試試我編寫的用於在Windows Phone上輕鬆序列化事物的DLL。 EZ_Iso.dll(免費)http://www.anthonyrussell.info/postpage.php?name=2 –
Tnx但是當我複製這個DLL我得到這個錯誤「無法加載文件或程序集'System.Windows,Version = 2.0 .6.0,Culture = neutral,PublicKeyToken = 7cec85d7bea7798e'或其依賴項之一。「 –
你需要添加一個對System.Windows的引用它說 –