private void SetButton() { if (Id >= _questionsData.GetQuestion().alternatives.Count) { Hide(); } else { Show(); } }
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; } }
protected virtual void SetText() { var question = _questionsData.GetQuestion(); _tx.text = question.title; }
public void UpdateAreaToConquer() { AreaToConquer = questionsData.GetQuestion().weight; }