Exemple #1
0
    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();
    }
Exemple #2
0
 public void SetExplanation()
 {
     Explanation.SetActive(true);
     mTextExplanation.text = KenchoAnswer.GetSyozaichi(GameSetting.GetKen());
 }