Example #1
0
    IEnumerator LevelCompletedCor(float time, int level, List <LeaderBoardData> datas)
    {
        yield return(new WaitForSeconds(time));

        if (levelCompleted.NotNull())
        {
            Hide(hud);
            Show(levelCompleted);
            levelCompleted.DataLevelCompleted(level, datas);
        }
    }