예제 #1
0
    private void SetupNewChoosingPhase(bool claimPrize)
    {
        if (claimPrize)
        {
            GlobalHandler.ActivePlayerClaimPrize(activeQuestion);
        }

        GlobalHandler.DeactivatePlayers();

        questions.Remove(activeQuestion);
        activeQuestionButton.SetActive(false);

        activeQuestionButton = null;
        activeQuestion       = null;
        activePhase          = Phase.CHOOSING;

        anim.Play("QuestionSlideOut");
    }