EventMgr.ts 253 B

12345678910
  1. export class EventMgr extends cc.EventTarget {
  2. private static _inst: EventMgr;
  3. public static get inst(): EventMgr {
  4. if (this._inst == null) {
  5. this._inst = new EventMgr();
  6. }
  7. return this._inst;
  8. }
  9. }