Beispiel #1
0
    public void CancelQuitToMainMenu()
    {
        quitToMainMenuPrompt.Close();

        // Open back overview with focus on "Quit to Main Menu" Button
        OpenOverview(2);

        ExitMenuSFX();
    }
Beispiel #2
0
    public void InitialState()
    {
        if (canvasGroupController != null)
        {
            canvasGroupController.Close();
        }

        foreach (var dialogue in dialogues)
        {
            if (dialogue != null)
            {
                dialogue.InitialState();
                dialogue.gameObject.SetActive(true);
            }
        }
    }
Beispiel #3
0
    public void Setup()
    {
        if (Control == null)
        {
            Control = this;
        }
        else if (Control != this)
        {
            Destroy(this.gameObject);
        }

        saveChoiceCanvas.gameObject.SetActive(false);
        saveEntryCanvas.gameObject.SetActive(false);
        saveProgressCanvasGroup.SetActive(true);
        saveProgressCanvas.SetActive(false);
        saveCompleteCanvas.SetActive(false);
        entryInput.Setup();

        saveAndRestartCanvasGroup.Close();
        saveAndStartWeekendCanvasGroup.Close();
    }