this idiot forgot to commit an entire month's worth of code

This commit is contained in:
Sylvia 2026-04-22 18:23:31 -07:00
parent c67146ea1a
commit a3321d361c
51 changed files with 3644 additions and 84 deletions

View file

@ -5,7 +5,7 @@ using UnityEngine.EventSystems;
public class AbilityHotbarIcon : MonoBehaviour, IPointerEnterHandler, IPointerExitHandler
{
[SerializeField] private Transform cooldownBar;
public Transform cooldownBar;
[SerializeField] private TextMeshProUGUI text;
private bool onCooldown;
private PlayerAbility thisAbility;
@ -34,6 +34,7 @@ public class AbilityHotbarIcon : MonoBehaviour, IPointerEnterHandler, IPointerEx
public void UpdateAbility(PlayerAbility ability)
{
thisAbility = ability;
ability.thisHotbarIcon = this;
text.text = thisAbility.abilityName;
}
public void OnPointerEnter(PointerEventData eventData)