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(); }