void Start()
    {
        _numberOfCardsMatched        = 0;
        _flipBackCardsCounter        = 0;
        _cardSelectCounter           = 0;
        _scaleCardFeatureCounter     = 0;
        _flipBackCardsFeatureCounter = 0;
        _numberOfCards = allCards.transform.childCount;
        _setBestTime();
        RearrangeCardsPositions();
        SetIconsAlpha();
        timer.ActivateTimer(true);
        canSelectCards = true;
        _activateCardsHorizontalMovement(cardsMovingHorizontalIsActive, horizontalMovingSpeed);

        _soundController = GameObject.FindWithTag("SoundController").GetComponent <SoundController>();
    }
예제 #2
0
 void RunCountDown()
 {
     timer.ActivateTimer(true);
     //StartCoroutine(CountDown(countDownTime));
 }