|
@@ -11,6 +11,8 @@ export class RedPoinNode {
|
|
|
node_sign: cc.Node = null;
|
|
node_sign: cc.Node = null;
|
|
|
@property({ type: cc.Node, displayName: "存钱罐" })
|
|
@property({ type: cc.Node, displayName: "存钱罐" })
|
|
|
node_pigbank: cc.Node = null;
|
|
node_pigbank: cc.Node = null;
|
|
|
|
|
+ @property({ type: cc.Node, displayName: "红包提现" })
|
|
|
|
|
+ node_redbagCash: cc.Node = null;
|
|
|
@property({ type: cc.Node, displayName: "福袋" })
|
|
@property({ type: cc.Node, displayName: "福袋" })
|
|
|
node_blessingBag: cc.Node = null;
|
|
node_blessingBag: cc.Node = null;
|
|
|
@property({ type: cc.Node, displayName: "转盘" })
|
|
@property({ type: cc.Node, displayName: "转盘" })
|
|
@@ -168,6 +170,7 @@ export default class Game extends cc.Component {
|
|
|
private initRedPoint() {
|
|
private initRedPoint() {
|
|
|
this.nodeRedPoint.node_sign.active = gData.sign.redPoint();
|
|
this.nodeRedPoint.node_sign.active = gData.sign.redPoint();
|
|
|
this.nodeRedPoint.node_pigbank.active = gData.pigbank.redPoint();
|
|
this.nodeRedPoint.node_pigbank.active = gData.pigbank.redPoint();
|
|
|
|
|
+ this.nodeRedPoint.node_redbagCash.active = gData.redBagCash.redPoint();
|
|
|
this.nodeRedPoint.node_turnable.active = gData.turnable.redPoint();
|
|
this.nodeRedPoint.node_turnable.active = gData.turnable.redPoint();
|
|
|
this.nodeRedPoint.node_blessingBag.active = gData.blessingBag.redPoint();
|
|
this.nodeRedPoint.node_blessingBag.active = gData.blessingBag.redPoint();
|
|
|
this.nodeRedPoint.node_redeem.active = gData.redeem.redPoint();
|
|
this.nodeRedPoint.node_redeem.active = gData.redeem.redPoint();
|