Пример #1
0
    public void OpenLosePanel(bool isTutorial)
    {
        if (isTutorial)
        {
            loseTutorialPanel.gameObject.SetActive(true);
            playerLootManager.LoseLoot();
        }
        else
        {
            losePanel.gameObject.SetActive(true);

            playerLootManager.LoseLoot();

            loseGoldText.text = "All you could save was " + playerLootManager.GetAllLootedGold + " gold... Better than nothing, I guess";
        }

        /*losePanel.gameObject.SetActive(true);
         *
         * playerLootManager.LoseLoot();
         *
         * loseGoldText.text = "All you could save was " + playerLootManager.GetAllLootedGold + " gold... Better than nothing, I guess";*/
    }