摘要: (一)GET方法 IEnumerator SendGet(string _url) { WWW getData = new WWW(_url); yield return getData; if(getData.error != null) { Debug.Log(getData.error); } 阅读全文
posted @ 2015-10-18 20:59 乐逍遥Jun 阅读(2533) 评论(0) 推荐(0) 编辑
摘要: (一)协程 开启方法:StartCoroutine("函数名"); 结束方法StopCoroutine("函数名"),StopAllCoroutines(); IEnumerator TestIEnumerator() { Debug.Log("协程"); //等待游戏界面绘制完成 yield re 阅读全文
posted @ 2015-10-18 12:05 乐逍遥Jun 阅读(691) 评论(0) 推荐(0) 编辑