コード例 #1
0
ファイル: StartOptions.cs プロジェクト: tvoysosed/game
    public void LoadDelayed()
    {
        //Pause button now works if escape is pressed since we are no longer in Main menu.
        inMainMenu = false;

        //Hide the main menu UI element
        showPanels.HideMenu();
        showPanels.HideClintonPanel();
        showPanels.HideAllegiancePanel();
        showPanels.HideTrumpPanel();
        //Load the selected scene, by scene index number in build settings
        SceneManager.LoadScene(sceneToStart);
    }