- Home /
I can't figure out how to use www to copy a file / very confused about porting to android...
So in my project I have all of my save files within my streamingassets directory. I want to take all the files from that directory and copy them into the persistentdatapath if this is the first time the game is run (they are xml data files). My project interfaces with the xml files using a custom script to display cutscenes. That way, I can edit those files while the game is built on the android device and not have to rebuild again and again to get my cutscenes right.
So I understand that I need to use www to copy the files and paste them into the persistentdatapath folder at runtime....I'm having a LOT of trouble with this, as there seem to be few questions and answers about it. Surely there has to be SOMEONE out there that's had this problem before with android?