Пример #1
0
    public void lockSlider()
    {
        if (working == true)
        {
            slide.interactable           = false;
            slide_verhoging.interactable = false;

            viewScript.deactivateObstruction();
            ScoreScript.AddTimerScore((int)timer);
            moveWallScript.SetSpeed();
            scoreAnimationScript.TimerTriggerAnimations((int)timer);

            cTimer.enabled        = false;
            CountdownText.enabled = false;

            button.interactable = false;
            Debug.Log(working);
        }

        working = false;
    }