Exemplo n.º 1
0
    /// <summary>
    /// start button clicked -> load scene
    /// </summary>
    public void StartButtonClicked()
    {
        showPanels.HideMenuPanel();
        showPanels.ToggleBackground(false);

        music.StopPlayMusic();
        LoadGame();

        // show buttons on game UI
        showPanels.ShowGameButtons();
    }