void Awake() { CEventDispatcher.GetInstance().AddEventListener(CEventType.GAME_WIN, Evaluate); CEventDispatcher.GetInstance().AddEventListener(CEventType.MOVE_TO_NEXT, UpdateWaveUI); CEventDispatcher.GetInstance().AddEventListener(CEventType.GAME_OVER, OnGameOver); instance = this; enabled = false; DungeonRecord.Clear(); StartCoroutine(Init()); }
void Awake() { instance = this; DungeonRecord.Clear(); StartCoroutine(Init()); }