I don’t know the file path at windows x86,arm and windows phone?
this is my codes
if (Application.platform == RuntimePlatform.Android)
path = Application.persistentDataPath;
else if (Application.platform == RuntimePlatform.WindowsPlayer)
path = Application.persistentDataPath;
else if (Application.platform == RuntimePlatform.WP8Player)
path = Application.persistentDataPath;
else if (Application.platform == RuntimePlatform.MetroPlayerARM)
path = Application.persistentDataPath;
else if (Application.platform == RuntimePlatform.MetroPlayerX86)
path = Application.persistentDataPath;
else if (Application.platform == RuntimePlatform.WindowsEditor)
path = Application.dataPath;
it’s doesn’t work on windows platform, Android is well done.Who can tell me the path?
and when I ready to punblish it, The “appxmanifeast” need to do something? About permission?
At the Android platform, it can save my create files, but at these Windows platform (eg. windows 8, windows phone), the file can not to be saved.
I think the problem is file path or some software permission.
Do you know why the “PlayPrefs” can not save data at Windows 8 platform? It doesn’t work, so I try to use writer files to instead, but it also have problems, Can you tell me the reason? Thanks a lot.
How about Json ? We can use what to deserialization ? I try to the LitJson or Newtonsoft.Json, at Windows 8 platform is also have some problems, Can you tell how to solve it ?
I’m a student, I am very glad that you can help me.