cb/assets/Script/btnControl.ts
2025-07-01 19:39:23 +08:00

27 lines
318 B
TypeScript

const {ccclass, property} = cc._decorator;
@ccclass
export default class btnControl extends cc.Component {
static _instance: any;
_touch: boolean;
onLoad () {
this._touch = true;
}
start () {
}
setTouch(type){
this._touch = type;
}
update (dt) {
}
}