alotta upgrade stuff but no upgrades
This commit is contained in:
parent
b9fb490dce
commit
3b60583c76
35 changed files with 2937 additions and 61 deletions
17
Assets/Scripts/StoredAbilityUpgradeUI.cs
Normal file
17
Assets/Scripts/StoredAbilityUpgradeUI.cs
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
using TMPro;
|
||||
using UnityEngine;
|
||||
using UnityEngine.UI;
|
||||
|
||||
public class StoredAbilityUpgradeUI : MonoBehaviour
|
||||
{
|
||||
[SerializeField] private Image icon;
|
||||
[SerializeField] private TextMeshProUGUI nameUI;
|
||||
[SerializeField] private TextMeshProUGUI countUI;
|
||||
|
||||
public void SetUpgrade(AbilityUpgrade upgrade, int count)
|
||||
{
|
||||
//icon.sprite = upgrade.upgradeIcon;
|
||||
nameUI.text = upgrade.name;
|
||||
countUI.text = $"x{count}";
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue