//If there is match 3+, Updates the hud and starts refilling the board void DestroyCandies() { if (candiesMatched.Count >= 3) { totalCandy -= candiesMatched.Count; if (candiesMatched.Count >= 5) { playerScore += candiesMatched.Count * candiesMatched.Count; } else { playerScore += candiesMatched.Count; } HUD_Manager.hud.UpdateHUD(); if (!isRefilling) { isRefilling = true; StartCoroutine("RefillTheBoard"); } } //Event call for candies that subscribed. Candy.CallOnMatch(); }