12345678910111213141516171819202122232425262728 |
- 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) {},
- });
|