public IEnumerator ParseVersionListByWWW() { if (!IsVersionFileExist) { Debug.LogFormat("<color=#FFFF33> 检测不到version文件:{0} ,需要从服务器更新</color>", VersionFilePath); yield break; } WWW www = Application.platform == RuntimePlatform.Android ? new WWW(VersionFilePath) : new WWW("file://" + VersionFilePath);; yield return(www); VersionInfoList = ABHelper.ReadVersionFileByBytes(www.bytes); }