Esempio n. 1
0
    private void ShowAccordion()
    {
        accordion.StopAllCoroutines();

        quiz.gameObject.SetActive(false);
        screenUI.SetActive(true);

        rotationWheel.gameObject.SetActive(true);
        accordion.InfoPoinsEnabled = true;

        if (startScreen.isActiveAndEnabled)
        {
            startScreen.Show(false);
        }

        accordion.DistanceFactor = 0.5f;

        rotationWheel.Reset();

        toggleButton.Toggle(state);

        accordion.MoveTo(startLayer, accordion.Step != startLayer ? 1.5f : 0);
    }