Files
heros/assets/script/game/map/unlockComp.ts
2024-08-18 23:38:55 +08:00

22 lines
340 B
TypeScript

import { _decorator, Component, Node } from 'cc';
const { ccclass, property } = _decorator;
@ccclass('unlock')
export class unlockComp extends Component {
start() {
}
doCancel() {
this.node.active = false
}
doActive() {
this.node.active = true
}
update(deltaTime: number) {
}
}