Esempio n. 1
0
    public void EndOfMatch()
    {
        StopCoroutine("SpawnWaves");
        Debug.Log("Match Ended");
        PauseButton.SetActive(false);
        EndOfMatchPanel.SetActive(true);
        // disable butons
        GameLoader loader = gameObject.GetComponent <GameLoader> ();

        loader.DisableButtons();
        displayText.enabled = false;
        displayTextBox.SetActive(false);
        // Save Match
        StartCoroutine(CGR_saveMatch());
    }