private void StartQuestionSequence(float chance) { if (!m_QuestionRunning) { float random = Random.Range(0f, 1.0f); if (random <= chance) { m_QuestionRunning = true; if (m_Stopwatch.IsRunning) { m_Stopwatch.Reset(); } m_Stopwatch.Start(); m_CurrentQuestion = m_QuestionContainer.GenerateQuestion(); this.PostNotification(DisplayQuestionNotification); } } }