StartNewGame() public static method

public static StartNewGame ( ) : void
return void
Esempio n. 1
0
        public void StartNewGame(object property)
        {
            if (Btn_Start_Game != "Start Game!")
            {
                StopGame();
            }

            gh.StartNewGame();
        }
Esempio n. 2
0
    void OnStartButtonClicked()
    {
        gamehandler.StartNewGame();
        menuPanel.gameObject.SetActive(false);

        startButton.gameObject.SetActive(false);
        restartButton.gameObject.SetActive(true);
        resumeButton.gameObject.SetActive(true);

        upPanel.SetActive(true);
    }