コード例 #1
0
 private void SetButton()
 {
     if (Id >= _questionsData.GetQuestion().alternatives.Count)
     {
         Hide();
     }
     else
     {
         Show();
     }
 }
コード例 #2
0
        protected virtual void SetText()
        {
            var question = _questionsData.GetQuestion();

            _tx.enabled = true;

            if (Id < question.alternatives.Count)
            {
                _tx.text = question.alternatives[Id].title;
            }
            else
            {
                _tx.enabled = false;
            }
        }
コード例 #3
0
        protected virtual void SetText()
        {
            var question = _questionsData.GetQuestion();

            _tx.text = question.title;
        }
コード例 #4
0
 public void UpdateAreaToConquer()
 {
     AreaToConquer = questionsData.GetQuestion().weight;
 }