public void Init() { _questions = QuestionRepoHandler.Questions(ScoreManager.Instance.Level); CreateAllQuestions(); _enumerator = 0; _answeredCount = 0; UpdateCurrent(); _start = Time.time; }
private void Awake() { var json = Resources.Load("questions") as TextAsset; Debug.Assert(json != null, "json != null"); _questions = QuestionRepoHandler.InitQuestions(json.text).ToList(); Continue.interactable = true; Close.interactable = true; }