觉醒时刻
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.
 
 
 

33 lines
566 B

import Common5 from "../../../Platform/th/Common5";
const { ccclass, property } = cc._decorator;
@ccclass
export default class levelStar extends cc.Component {
protected gameInfo = null;
protected gameNo: number = 0;//该关卡是第几关
// LIFE-CYCLE CALLBACKS:
onLoad() {
}
start() {
}
initCell(num, info) {
this.gameInfo = info;
this.gameNo = num;
Common5.btnRegister_custom(this.node, () => {
this.clickFunc();
})
}
clickFunc() {
console.log(1111);
}
}