Ejemplo n.º 1
0
    override public void OnGameEnd()
    {
        isPlaying = false;

        UIControllerNetwork ui = UI.GetComponent <UIControllerNetwork>();

        ui.networkResults();

        NPCSpawner ns = spawner.GetComponent <NPCSpawner>();

        ns.OnGameOver();
    }
Ejemplo n.º 2
0
    public virtual void OnGameEnd()
    {
        isPlaying = false;

        UIController uic = UI.GetComponent <UIController>();

        uic.ResultsScreen(true);

        NPCSpawner ns = spawner.GetComponent <NPCSpawner>();

        ns.OnGameOver();
    }