Quantcast
Channel: Cocos中文社区 - 最新帖子
Viewing all articles
Browse latest Browse all 495283

请教下1.3版本中cc.loader.onProgress

$
0
0

看了下源码:

LoadingItems.create = function (pipeline, urlList, onProgress, onComplete) {
if (onProgress === undefined) {
if (typeof urlList === 'function') {
onComplete = urlList; //此处将进度函数换成了全部完成才调用了
urlList = onProgress = null; //清空了进度函数
}
}

请问下现在该怎么去监控加载进度呢?


Viewing all articles
Browse latest Browse all 495283

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>