Beispiel #1
0
    // Collider activation is delayed so the player doesn't accidentally start a new level
    // if they are standing on top of the pillars when the game ends
    IEnumerator DelayedActivateGameCard(GameCard gameCard, float delayTime)
    {
        yield return(new WaitForSeconds(delayTime));

        gameCard.EnableCollider();
    }