123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051 |
- const { ccclass } = cc._decorator;
- @ccclass
- export default class auto_crazyAwardView extends cc.Component {
- crazyAwardView: cc.Node;
- bg: cc.Node;
- fxtsjs_biaoti: cc.Node;
- point: cc.Node;
- heroContent: cc.Node;
- heroSlot1: cc.Node;
- heroSlot2: cc.Node;
- heroSlot3: cc.Node;
- heroSlot4: cc.Node;
- zombieContent: cc.Node;
- zombieSlot1: cc.Node;
- zombieSlot2: cc.Node;
- zombieSlot3: cc.Node;
- zombieSlot4: cc.Node;
- fxtsjs_btn: cc.Node;
- kdzl: cc.Node;
- byjs: cc.Node;
- jbjl: cc.Node;
- jindutiao2: cc.Node;
- nodeProgress: cc.Node;
- public static URL:string = "db://assets/resources/prefab/Interface/crazyAwardView.prefab"
- onLoad () {
- this.crazyAwardView = this.node
- this.bg = this.crazyAwardView.getChildByName("bg");
- this.fxtsjs_biaoti = this.crazyAwardView.getChildByName("fxtsjs_biaoti");
- this.point = this.fxtsjs_biaoti.getChildByName("point");
- this.heroContent = this.crazyAwardView.getChildByName("heroContent");
- this.heroSlot1 = this.heroContent.getChildByName("heroSlot1");
- this.heroSlot2 = this.heroContent.getChildByName("heroSlot2");
- this.heroSlot3 = this.heroContent.getChildByName("heroSlot3");
- this.heroSlot4 = this.heroContent.getChildByName("heroSlot4");
- this.zombieContent = this.crazyAwardView.getChildByName("zombieContent");
- this.zombieSlot1 = this.zombieContent.getChildByName("zombieSlot1");
- this.zombieSlot2 = this.zombieContent.getChildByName("zombieSlot2");
- this.zombieSlot3 = this.zombieContent.getChildByName("zombieSlot3");
- this.zombieSlot4 = this.zombieContent.getChildByName("zombieSlot4");
- this.fxtsjs_btn = this.crazyAwardView.getChildByName("fxtsjs_btn");
- this.kdzl = this.crazyAwardView.getChildByName("kdzl");
- this.byjs = this.crazyAwardView.getChildByName("byjs");
- this.jbjl = this.crazyAwardView.getChildByName("jbjl");
- this.jindutiao2 = this.crazyAwardView.getChildByName("jindutiao2");
- this.nodeProgress = this.jindutiao2.getChildByName("nodeProgress");
- }
- }
|