WWW

IEnumerator Start () {
string str = "file://" + Application.streamingAssetsPath+ "/a.txt";

WWW www = new WWW(str);
yield return www;
if (www.isDone)
{
GetComponent<GUIText>().text=www.text;

}

}


posted @ 2015-11-11 14:03  哎呦不能错喔  阅读(256)  评论(0编辑  收藏  举报