예제 #1
0
    /// <summary>
    /// Start the play coroutine by fading away main menu
    /// </summary>
    /// <returns></returns>
    private IEnumerator OnPlayRoutine()
    {
        yield return(StartCoroutine(m_uiManager.PlayRoutine(0, 2, false)));

        gameOver = false;
        m_tileFactory.CreateTilePool();
        StartCoroutine(m_boardManager.InitializeBoard());
        m_scoreManager.OnPlay();
    }