Files
Alien_Sniper/assets/scripts/EventCenter.ts
T
2026-07-14 11:44:07 +08:00

10 lines
316 B
TypeScript

import { _decorator, Component, Node, EventTarget } from 'cc';
const { ccclass, property } = _decorator;
@ccclass('EventCenter')
export class EventCenter extends Component {
static onEnemyDie = new EventTarget();
static powerChange = new EventTarget();
static coinCountChange = new EventTarget();
}