I have an iOS game that I want to port to Android, but I can’t get File.Copy to work. It doesn’t find the files in dataPath. Do any of you know where is that folder or how I can get the path to the ressource folder?
This is how I use it:
if(!File.Exists(Application.persistentDataPath + “/save/xmlFile”))File.Copy(Application.dataPath + “Resources/xmlFile”, Application.persistentDataPath + “/save/xmlFile”, false);
(Application.dataPath + “Resources/xmlFile” <= This is what it doesn’t find.
Thanks!