From 6f69e4b2684df5b2aea3758dfc7fe72a4a849c09 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=99=88=E6=80=9D=E6=B5=B7?= <1464576565@qq.com> Date: Thu, 17 Apr 2025 18:41:23 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Runtime/UGUIExtension/UX/UXButton.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/Runtime/UGUIExtension/UX/UXButton.cs b/Runtime/UGUIExtension/UX/UXButton.cs index fa59727..834d045 100644 --- a/Runtime/UGUIExtension/UX/UXButton.cs +++ b/Runtime/UGUIExtension/UX/UXButton.cs @@ -122,6 +122,7 @@ public class UXButton : UIBehaviour, IButton, { onValueChanged?.Invoke(IsSelected); } + UpdateVisualState(m_SelectionState,true); }