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.
45 lines
859 B
45 lines
859 B
|
1 week ago
|
|
||
|
|
//*********************
|
||
|
|
// create by 流云
|
||
|
|
// time: Wed Dec 17 2025
|
||
|
|
// desc:
|
||
|
|
//*********************
|
||
|
|
import { _decorator, Component, Node , find} from 'cc';
|
||
|
|
import { Auto_challengeTip } from './Auto_challengeTip';
|
||
|
|
const { ccclass, property } = _decorator;
|
||
|
|
|
||
|
|
@ccclass('UIchallengeTip')
|
||
|
|
export class UIchallengeTip extends Auto_challengeTip {
|
||
|
|
|
||
|
|
callBack = null
|
||
|
|
onLoad(): void {
|
||
|
|
super.onLoad();
|
||
|
|
}
|
||
|
|
|
||
|
|
onEnable(): void {
|
||
|
|
super.onEnable();
|
||
|
|
}
|
||
|
|
|
||
|
|
onDisable(): void {
|
||
|
|
super.onDisable();
|
||
|
|
}
|
||
|
|
|
||
|
|
onInit(): void {
|
||
|
|
this.callBack = this.prema
|
||
|
|
this.showOpenCenterEff()
|
||
|
|
this.showOpenMaskEff(2);
|
||
|
|
}
|
||
|
|
|
||
|
|
click_tizozhanBtn() {
|
||
|
|
//
|
||
|
|
if(this.callBack){
|
||
|
|
this.callBack()
|
||
|
|
}
|
||
|
|
this.close(2)
|
||
|
|
}
|
||
|
|
click_closeBtn() {
|
||
|
|
this.close(2)
|
||
|
|
}
|
||
|
|
|
||
|
|
}
|
||
|
|
|