123456789101112131415161718192021222324252627282930313233343536373839 |
- using System.Collections;
- using System.Collections.Generic;
- using System.Linq;
- using System.Security.Policy;
- using Sfs2X;
- using Sfs2X.Util;
- using UnityEngine.UI;
- namespace AtlasUtility
- {
- using UnityEngine;
- public class Test : MonoBehaviour
- {
- public void Awake()
- {
- StartCoroutine(ETest());
- }
- public IEnumerator ETest()
- {
- Debug.Log("start");
- WWW www = new WWW("https://garden.dashgame.com/bundle/android/new_flower_tex1.3");
- while (www.isDone == false)
- {
- Debug.Log(www.progress);
- yield return null;
- }
- if (string.IsNullOrEmpty(www.error))
- {
- Debug.Log("finish");
- }
- else
- {
- Debug.Log(www.error);
- }
- }
- }
- }
|