Esempio n. 1
0
    void UpdateResources()
    {
        currencyCount.text          = PlayerResources.GetCurrentCurrencyValue().ToString();
        buildingMaterialsCount.text = PlayerResources.GetCurrentBuildingMaterialsValue().ToString();
        toolPartsCount.text         = PlayerResources.GetCurrentToolPartsValue().ToString();
        bookPagesCount.text         = PlayerResources.GetCurrentBookPagesValue().ToString();

        felledTreesCount.text = HomesteadStockpile.GetTreesCountAsString();
        logsCount.text        = HomesteadStockpile.GetLogsCountAsString();
        firewoodCount.text    = HomesteadStockpile.GetFirewoodCountAsString();
    }