Added Unit Tooltip #6

Merged
Ader_Alisma merged 15 commits from feature/UnitTooltip into main 2025-05-30 19:05:04 +00:00
Showing only changes of commit 90b4fc3df6 - Show all commits

View File

@ -16,8 +16,7 @@ public class TooltipText : MonoBehaviour
[SerializeField] [SerializeField]
private TextMeshProUGUI _tooltipAttackSpeed; private TextMeshProUGUI _tooltipAttackSpeed;
private const string EMPTY_STRING = ""; private const string EMPTY_STRING = "";
// Start is called before the first frame update private void Start()
Ader_Alisma marked this conversation as resolved Outdated

private Start() and remove the generated comments

private Start() and remove the generated comments
void Start()
{ {
_tooltipManager = TooltipManager.Instance; _tooltipManager = TooltipManager.Instance;
EventAggregator.Instance.GetEvent<TooltipChangedEvent>().Attach(OnEventUpdate); EventAggregator.Instance.GetEvent<TooltipChangedEvent>().Attach(OnEventUpdate);