cc.Class({ extends: cc.Component, properties: { }, // LIFE-CYCLE CALLBACKS: onLoad () { this.node.height = GameGlobal.winSize.height; if (GameGlobal.winSize.height <= 1000) { this.content.height = 800; } }, start () { }, hiddenAction() { this.node.destroy(); } // update (dt) {}, });