public void UseJokerSwiitch() { GetComponent <AudioSource>().clip = soundJokerSwiitch; GetComponent <AudioSource>().Play(); uiController.JokerSwiitchUI(); currentQuestion = questionCollection.GetUnaskedQuestion(uiController.categoryText.text); uiController.SetupUIForQuestion(uiController.categoryText, currentQuestion); }
public void PresentFinalQuestion(Text category) { _currentCategory = category; questionCollection = gameObject.GetComponent <QuestionCollection>(); currentQuestion = questionCollection.GetUnaskedQuestion(category.text); _uiFinale.SetupUIForQuestion(category, currentQuestion); }
public void PresentQuestion(Text category) { if (category.text != players[currentPlayer].specialCategory && listSpecialCategories.Contains(category.text)) { pointsMultiplier = 2; } else { pointsMultiplier = 1; } uiController.UpdatePointsToScore(pointsMultiplier); questionCollection = gameObject.GetComponent <QuestionCollection>(); if (category.text == "Surprise") { category.text = PickASpecialCategory(); } currentQuestion = questionCollection.GetUnaskedQuestion(category.text); uiController.SetupUIForQuestion(category, currentQuestion); }
private void PresentAllQuestions1() { currentQuestion = questionCollection.GetUnaskedQuestion(helpArray); panelController.SetupUIForQuestion(currentQuestion); }
void PresentQuestion() { currentQuestion = qC.GetUnaskedQuestion(); uiController.SetupUIForQuestion(currentQuestion); }
private void PresentQuestion() { currentQuestion = questionCollection.GetUnaskedQuestion(); uiController.SetupUIForQuestion(currentQuestion); }
private void CurrentQuestion() { currentQuestion = questionCollection.GetUnaskedQuestion(); uiHelper.SetupUIForQuestion(currentQuestion); }