金币系统

This commit is contained in:
2025-05-30 10:34:18 +08:00
parent 564b3e2de9
commit 96db3dc1bd
10 changed files with 2261 additions and 107 deletions

View File

@@ -0,0 +1,22 @@
import { _decorator, Component, Node } from 'cc';
import { oops } from 'db://oops-framework/core/Oops';
const { ccclass, property } = _decorator;
@ccclass('stoast')
export class stoast extends Component {
onAdded(args: any) {
console.log("toast打开",args)
}
private close() {
oops.gui.removeByNode(this.node);
}
onDestroy() {
}
}