public void RequestRecommendation(Customer customer) { ShowRecommendation(true); recommendation = gameLoop.GetLevelDefinition().RecommendationPool.GetRecommendationPool().GetRecommendation(); currentCustomer = customer; NewRecommendationLoaded(customer, recommendation); }
private void HandleRecommendationLoaded(Customer customer, DataRecommendation recommendation) { if (customer.Equals(this)) { status = Status.Running; reWanted.SetActive(false); question.SetActive(true); question.GetComponentInChildren <UI_QuestionSpeechText>().gameObject.GetComponent <TextMeshProUGUI>().text = recommendation.Question; // setQuestionText(recommendation.Question); } }
private void newRecommendationLoaded(Customer customer, DataRecommendation recommendation) { GetComponentInChildren <UI_QuestionSpeechText>().gameObject.GetComponent <TextMesh>().text = recommendation.Question; }
private void handlerRecommendationLoaded(Customer customer, DataRecommendation recommendation) { methodImage.sprite = recommendation.ImageMethode; }
private void showFeedback(DataRecommendation recommendation) { _feedbackImage.sprite = recommendation.ImageFeedback; _correctAnswer.text = recommendation.TextCorrectAnswer; _feedback.text = recommendation.TextFeedback; }
private void newRecommendationOpened(Customer customer, DataRecommendation dataItems) { setRecommendationItems(dataItems.PossibleSelections); grid.enabled = true; Debug.Log(dataItems.name); }
private void HandleRecommendationLoaded(Customer customer, DataRecommendation recommendation) { defaultLookAtPosition = Vcam.Follow; Vcam.Follow = customer.transform; Vcam.Priority = 2; }