This commit is contained in:
2024-09-05 08:05:37 +08:00
parent 44cb46e7de
commit b80d2ff36e
19 changed files with 11374 additions and 2292 deletions

View File

@@ -1,4 +1,5 @@
import { _decorator, Component, Node } from 'cc';
import { _decorator, Component, Node ,director,game} from 'cc';
import { oops } from '../../../../extensions/oops-plugin-framework/assets/core/Oops';
const { ccclass, property } = _decorator;
@ccclass('unlock')
@@ -9,9 +10,11 @@ export class unlockComp extends Component {
doCancel() {
this.node.active = false
}
doActive() {
this.node.active = true
}
update(deltaTime: number) {