Пример #1
0
    // Update is called once per frame
    void Update()
    {
        if (player.isMoving())
        {
            move = true;
        }

        /*if (buton.IsPressed())
         * {
         *  button = true;
         * }*/
        if (move && !button)
        {
            tutoMove.SetActive(false);
            tutoButton.SetActive(true);
        }
        else if (move && button)
        {
            tutoButton.SetActive(false);
            tutoEnd.SetActive(true);
        }
    }