I am trying to load some data from text file, now I can view the data on computer and iPhone. But I don’t know how can load the text file on android platform. I want to know how set the text file path.Thank you very much!The code is
public string loadText(string filename)
{
string path = Application.dataPath + "/texts/" + filename;
......
}
I put the text file to /Assets/texts/ on PC.
I put the text file to /Data/texts on iPhone.
How can I set the Android path?