diff --git a/Assets/Scripts/UI/Control/PfUIButton.cs b/Assets/Scripts/UI/Control/PfUIButton.cs index e2b96376..b182c01e 100644 --- a/Assets/Scripts/UI/Control/PfUIButton.cs +++ b/Assets/Scripts/UI/Control/PfUIButton.cs @@ -157,7 +157,7 @@ namespace Assets.Scripts.UI.Control se.SetDelay(1); se.AppendCallback(() => { - DOTween.Complete(tooltips); + DOTween.Complete(tooltips,true); tooltips.SetActive(true); tooltips.GetComponent().alpha = 0f; tooltips.GetComponent().DOFade(1, 0.5f); @@ -201,7 +201,7 @@ namespace Assets.Scripts.UI.Control if (!string.IsNullOrWhiteSpace(Tooltips) && showTooltip) { #endif - DOTween.Complete(tooltips); + DOTween.Complete(tooltips,true); group.DOFade(0, 1f).onComplete += () => { tooltips.SetActive(false); }; @@ -234,7 +234,7 @@ namespace Assets.Scripts.UI.Control UIManager.AddEvent(this.gameObject, EventTriggerType.PointerDown, new UnityEngine.Events.UnityAction(e => { if (!this.isActiveAndEnabled) return; - DOTween.Complete(tooltips); + DOTween.Complete(tooltips,true); tooltips.SetActive(false); //else //{