コード例 #1
0
    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());
    }
コード例 #2
0
 void Awake()
 {
     instance = this;
     DungeonRecord.Clear();
     StartCoroutine(Init());
 }