Commit bd60f153 authored by 范雪寒's avatar 范雪寒

feat: 隐藏小兔子

parent 96d80a9b
......@@ -12,11 +12,32 @@ cc.Class({
},
// LIFE-CYCLE CALLBACKS:
// onLoad () {},
ctor() {
},
start() {
cc.debug.setDisplayStats(false);
this.preloadItem();
},
preloadItem() {
this.preload();
this.onLoadFinish();
},
preload() {
this.hideAirClassLoading();
},
hideAirClassLoading() {
if (window && window["air"]) {
window["air"].hideAirClassLoading();
console.log('hideAirClassLoading');
}
},
onLoadFinish() {
const demoList = [{
sceneName: 'demo_01_showFireworks',
label: '烟花效果'
......
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