cc.Class({ extends: cc.Component, properties: { }, //修复mask 配合camera 的bug,引擎问题。后续可能会修复 onLoad () { // // this.mask = this.getComponent(cc.Mask); // console.log(this.mask); // this.mask._clearGraphics.rect(-20000, -20000, 60000, 60000); // this.mask._clearGraphics.fill(); }, });