EventCenter.ts 222 Bytes BlameHistoryPermalink Edit 1 2 3 4 5 6 7 8 import { Emitter } from "./EventKit"; export namespace EventCenter { let emitter = new Emitter(); /**检查热更后游戏初始化事件 */ export const GameStart = emitter.createEvent<() => void>(); }