yeah you're going straight to hell
This commit is contained in:
parent
11d1cbb543
commit
e30de274c8
15 changed files with 3061 additions and 913 deletions
14
Assets/Scripts/UpgradeBoxUI.cs
Normal file
14
Assets/Scripts/UpgradeBoxUI.cs
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
using TMPro;
|
||||
using UnityEngine;
|
||||
using UnityEngine.UI;
|
||||
|
||||
public class UpgradeBoxUI : MonoBehaviour
|
||||
{
|
||||
[SerializeField] private TextMeshProUGUI counterUI;
|
||||
public Image upgradeImage;
|
||||
public AbilityUpgrade thisAbilityUpgrade;
|
||||
public void UpdateCounter()
|
||||
{
|
||||
counterUI.text = $"x{thisAbilityUpgrade.count}";
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue