You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
41 lines
1.0 KiB
41 lines
1.0 KiB
|
1 week ago
|
|
||
|
|
//*********************
|
||
|
|
// create by 流云
|
||
|
|
// 插件自动生成的节点脚本
|
||
|
|
// 请勿修改(自动生成会覆盖)
|
||
|
|
// 请通过子类继承使用
|
||
|
|
//*********************
|
||
|
|
import { _decorator, Component, Node, find, Sprite, Label, Button, ScrollView, EditBox } from 'cc';
|
||
|
|
import { UIBase } from '../../../mx/module/ui/UIBase';
|
||
|
|
const { ccclass } = _decorator;
|
||
|
|
|
||
|
|
@ccclass('Auto_GetReward')
|
||
|
|
export class Auto_GetReward extends UIBase {
|
||
|
|
|
||
|
|
ui_rewardGrid:Node;
|
||
|
|
|
||
|
|
ui_content:Node;
|
||
|
|
com_content:Node;
|
||
|
|
getIconNode:Node
|
||
|
|
getNewToolNode:Node
|
||
|
|
ui_layOut:Node;
|
||
|
|
onLoad(){
|
||
|
|
super.onLoad();
|
||
|
|
|
||
|
|
this.ui_rewardGrid = find("ui_rewardGrid",this.node);
|
||
|
|
|
||
|
|
this.getIconNode = find("ui_center/获得物品",this.node);
|
||
|
|
this.getNewToolNode = find("ui_center/新功能解锁",this.node);
|
||
|
|
|
||
|
|
this.ui_content = find("ui_center/ui_layOut/content",this.node);
|
||
|
|
this.com_content = find("ui_center/ui_layOut/comcontent",this.node);
|
||
|
|
this.ui_layOut = find("ui_center/ui_layOut",this.node);
|
||
|
|
}
|
||
|
|
onEnable() {
|
||
|
|
|
||
|
|
}
|
||
|
|
onDisable() {
|
||
|
|
|
||
|
|
}
|
||
|
|
|
||
|
|
}
|