From dacd0f6b3cebc303f5f24034f5e0f6a9d1b08701 Mon Sep 17 00:00:00 2001 From: Ader Alisma 01 Date: Sun, 5 Jan 2025 14:49:47 -0500 Subject: [PATCH] Debug log --- Assets/Scripts/Drag&Drop/GameObjectPlacementButton.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/Assets/Scripts/Drag&Drop/GameObjectPlacementButton.cs b/Assets/Scripts/Drag&Drop/GameObjectPlacementButton.cs index d75de55..ee12ca9 100644 --- a/Assets/Scripts/Drag&Drop/GameObjectPlacementButton.cs +++ b/Assets/Scripts/Drag&Drop/GameObjectPlacementButton.cs @@ -86,6 +86,7 @@ public class GameObjectPlacementButton : UnitPlacementButton public override void OnPointerEnter(PointerEventData eventData) { Ally allyObj = _prefab.GetComponent(); + Debug.Log("For " + _unitCardInformation.name + ": " + allyObj.Hp); TooltipManager.Instance.ShowTooltip(_unitCardInformation, allyObj.Hp.ToString(), allyObj.AttackDamage.ToString(), allyObj.AttackInterval.ToString()); }