unity应用程序路径
应用程序内容路径
public static string AppContentPath()
{
string path = string.Empty;
switc(Application.platform)
{
case RuntimePlatform.Android:
path=“jar:file://”+Application.dataPath+"!/assets/";
break;
case RuntimePlatform.Android:
path=Application.dataPath+"!/Raw/";
break;
case RuntimePlatform.Android:
path=Application.dataPath+“Resources/Data/StreamingAssets”;
break;
default:
path="Application.dataPath+“StreamingAssets/”;
break;
}
}