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>(); }
void RunCountDown() { timer.ActivateTimer(true); //StartCoroutine(CountDown(countDownTime)); }