public void SelectThisAnswer() { if (loadCircle.GetTimeLeft() != 0) { int value = int.Parse(EventSystem.current.currentSelectedGameObject.GetComponent <Text>().text); //print("Selected Value: "+ value); //print("Solution: " + solution); if (value == solution)//Correct Answer { //print(EventSystem.current.currentSelectedGameObject.name + " You have selected the Right answer"); UpdateScore(correctAnswerValue * streakMeter.GetStreakValue(), false);//Update Score and add in Multiplier streakMeter.SetMeterAmount(streakMeterIncrementValue); IncreaseDificulty(); StartNewRound(); } else { //print("You have selected the Wrong answer"); EventSystem.current.currentSelectedGameObject.GetComponent <Animator>().Play("FlashAnimation"); if (!this.LoseNoHeartSetting) { healthMeter.LoseHeart(); } streakMeter.Reset(); StartNewRound(); } } }