fix(cooldown-button): restore event

pull/413/head
Gabriel Juchault 2018-11-21 13:41:20 +00:00
parent 3737c610b6
commit ff548fec7e
1 changed files with 1 additions and 0 deletions

View File

@ -144,6 +144,7 @@ namespace UnityEngine.UI.Extensions
/// </summary> /// </summary>
public void StartCooldown() public void StartCooldown()
{ {
OnCooldownStart.Invoke(new PointerEventData.InputButton());
cooldownTimeRemaining = cooldownTimeout; cooldownTimeRemaining = cooldownTimeout;
cooldownActive = cooldownInEffect = true; cooldownActive = cooldownInEffect = true;
} }