From ff548fec7eaf37a152d201d6426c3755bff1e27c Mon Sep 17 00:00:00 2001 From: Gabriel Juchault Date: Wed, 21 Nov 2018 13:41:20 +0000 Subject: [PATCH] fix(cooldown-button): restore event --- Scripts/Controls/CooldownButton.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/Scripts/Controls/CooldownButton.cs b/Scripts/Controls/CooldownButton.cs index a346b22..9d15ecd 100644 --- a/Scripts/Controls/CooldownButton.cs +++ b/Scripts/Controls/CooldownButton.cs @@ -144,6 +144,7 @@ namespace UnityEngine.UI.Extensions /// public void StartCooldown() { + OnCooldownStart.Invoke(new PointerEventData.InputButton()); cooldownTimeRemaining = cooldownTimeout; cooldownActive = cooldownInEffect = true; }