Exemplo n.º 1
0
    public void GameOver()
    {
        Debug.LogWarning("Congrats the game has been won");

        HelpText.text = "";

        GameOverAnimation.Play();
        CameraAnimation.Play();
        FindObjectOfType <NetworkGameManager>().InfoText.text = "You have solved the puzzles and escaped the island!";
        Invoke("LeaveMatch", GameOverAnimation.clip.length);
    }