Exemple #1
0
    public void GameWin()
    {
        Prompts.Activate(false);
        GameMap.SetActive(false);
        if (StartGame != null)
        {
            StartGame.SetActive(false);
        }
        FinishGame.SetActive(true);
        ContinueButton.SetActive(false);
        var money = PlayerPrefs.GetInt("money");

        PlayerPrefs.SetInt("money", money + 1000);
    }