Esempio n. 1
0
        public void LoadResource(AssetProxy proxy)
        {
            if (proxy == null)
            {
                return;
            }
            proxy.data = AutoGetAssetData(proxy.url);
            if (proxy.data.isLoaded)
            {
                proxy.AssetComplete();
                return;
            }

            CoroutineUtil.StartCoroutine(DoLoadAsset(proxy));
        }
Esempio n. 2
0
 /// <summary>
 /// 开始下载
 /// </summary>
 internal Coroutine BeginDownLoad()
 {
     return(CoroutineUtil.StartCoroutine(DownLoad()));
 }
 public Coroutine CreateAC(string path, string[] depends, CollectComplete collector)
 {
     return(CoroutineUtil.StartCoroutine(CreateACCoroutine(path, depends, collector)));
 }