예제 #1
0
    public void PreviousQuestion()
    {
        _Audio.PlayAudio(0);

        count2--;
        if (count2 >= 0)
        {
            foreach (var item in informacion)
            {
                item.SetActive(false);
            }
            informacion[count2].SetActive(true);
        }
        if (count2 == -1)
        {
            ControlNavegacion.Backward();
            ActivateReview();
        }
    }
예제 #2
0
    public void PreviousQuestion()
    {
        if (count2 >= 0)
        {
            count2--;
            foreach (var item in inputs)
            {
                item.SetActive(false);
            }

            if (count2 == -1)
            {
                inputs[count2].SetActive(true);
                count2 = 0;
                controlNavegacion.Backward();
            }
            else
            {
                inputs[count2].SetActive(true);
            }
        }
    }