Example #1
0
    public void UpdateText()
    {
        Feature currFeature = mgr.features[mgr.currFeature];
        NewItem currItem    = currFeature.ReturnItem();

        itemName.text    = currItem.GetName();
        cost.text        = currItem.GetCost().ToString();
        description.text = currItem.GetDescription();

        playerFundsText.text = PlayerPrefs.GetInt("ORBS").ToString();
    }