예제 #1
0
    public void Init()
    {
        Score                   = 0;
        scoreText.text          = "0";
        _IsStart                = false;
        durationFill.fillAmount = 0;
        _Blade.Reset();

        Spawner.SetActive(false);
        _Spawner.Reset();
        Blade.SetActive(false);
        _Blade.StopInit();

        //Reset Random Quiz
        CurrentQuestion   = 0;
        QuestionAnswered  = 0;
        OnceAskedQuestion = false;
        CopyQuizFromGame1();
        QuizRandomizer();
        GenerateQuestion();
        Quiz1.SetActive(true);
        Quiz2.SetActive(false);
        Quiz3.SetActive(false);
        BenarPopup.SetActive(false);
        SalahPopUp.SetActive(false);
    }