Quantcast
Channel: Cocos中文社区 - 最新主题
Viewing all articles
Browse latest Browse all 88737

请教个 assetsManager 更新的问题

$
0
0

@ljf551 写道:

assetsManager = cc.AssetsManager:new("http://XXX/XX.zip","http://XX/version",pathToSave) assetsManager:retain()
assetsManager:setDelegate(onError, cc.ASSETSMANAGER_PROTOCOL_ERROR )
assetsManager:setDelegate(onProgress, cc.ASSETSMANAGER_PROTOCOL_PROGRESS)
assetsManager:setDelegate(onSuccess, cc.ASSETSMANAGER_PROTOCOL_SUCCESS )
assetsManager:setConnectionTimeout(10)
--assetsManager:registerScriptHandler(handler(self, self.downHandler))
assetsManager:update()

用assetsManager 这方法两种侦听方式都没收到响应 可能的情况是什么呢?

帖子: 1

参与者: 1

阅读整个主题


Viewing all articles
Browse latest Browse all 88737

Trending Articles



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