Exemple #1
0
    public void ShowStartScren()
    {
        hudCanvas.HideHUD();
        endScreen.Hide();

        startScreen.ShowStartScreen();
    }
Exemple #2
0
    private void initialize()
    {
        Debug.Log("Initializing Game");

        gameState = GameState.MainMenu;

        mainMenu.Initialize();
        addMainMenuEventHandlers();
        mainMenu.Show();

        gameUI.Initialize();
        addGameUIEventHandlers();
        gameUI.Hide();

        endScreenUI.Initialize();
        addEndScreenUIEventHandlers();
        endScreenUI.Hide();
    }