public void OnPressAnswer() { string answer = mScreen.GetAnswer(); if (KenchoAnswer.IsCorrectKenchoshozaichi(GameSetting.GetKen(), answer)) { mScreen.SetIsCorrest(true); } else { mScreen.SetIsCorrest(false); } mState = State.WaitTap; NextButton.SetActive(true); mScreen.SetExplanation(); }
public void SetExplanation() { Explanation.SetActive(true); mTextExplanation.text = KenchoAnswer.GetSyozaichi(GameSetting.GetKen()); }