IEnumerator PlayAudio()
{
if (question.questionType == QuestionType.AUDIO)
{
questionAudio.PlayOneShot(question.qustionClip);
yield return new WaitForSeconds(audioLenght + 0.5f);
StartCoroutine(PlayAudio());
}
else
{
StopCoroutine(PlayAudio());
yield return null;
}
}
As you were told here previously, please edit your post to use code-tags: Trying to Invoke method: QuizManager.SelectedQuestion couldn't be called. Error
You should also reply to the forum help you received in your previous post. Please don’t ask for help then ignore your thread.
Thanks.
Okay