Beispiel #1
0
    void Update()
    {
        if (howToPlay)
        {
            buttonList.active = false;
        }
        else
        {
            buttonList.active = true;
        }

        if (Input.GetButtonDown("A_Button") && buttonList.selectedButton == 1)
        {
            MoveInHowToPlayScreen(howToPlayIndex);
            Debug.Log(howToPlayIndex);
        }

        if (Input.GetButtonDown("Start_Button"))
        {
            if (!userHitStart)
            {
                Transition();
                buttonList.Activate();
                userHitStart = true;
            }
        }
    }