123456789101112131415161718192021 |
- const { ccclass } = cc._decorator;
- @ccclass
- export default class auto_winView extends cc.Component {
- winView: cc.Node;
- bg: cc.Node;
- next_btn: cc.Node;
- tg: cc.Node;
- target_img: cc.Node;
- public static URL:string = "db://assets/resources/prefab/Interface/winView.prefab"
- onLoad () {
- this.winView = this.node
- this.bg = this.winView.getChildByName("bg");
- this.next_btn = this.winView.getChildByName("next_btn");
- this.tg = this.winView.getChildByName("tg");
- this.target_img = this.winView.getChildByName("target_img");
- }
- }
|