Commit 058a4c99 authored by liujiangnan's avatar liujiangnan

debug

parent c1967a3e
......@@ -48,13 +48,13 @@ cc.Class({
this.preloadCount = 0;
this.loadedCount = 0;
initAir(this);
if(!window.preloadBundleAndSourcesFlag){
// 只加载一次就行了
window.preloadBundleAndSourcesFlag = true;
cc.find("middleLayer/ui/ProgressLabel").active = true;
this.preloadBundle();
this.preloadSource();
}
// if(!window.preloadBundleAndSourcesFlag){
// // 只加载一次就行了
// window.preloadBundleAndSourcesFlag = true;
// cc.find("middleLayer/ui/ProgressLabel").active = true;
// this.preloadBundle();
// this.preloadSource();
// }
},
start() {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment