From 1b039ea8c8b65e509233602f07d65f6b4353fbd9 Mon Sep 17 00:00:00 2001 From: NTG Date: Mon, 1 Sep 2025 17:19:49 +0900 Subject: [PATCH] =?UTF-8?q?=EC=98=A4=EB=8A=98=EC=9D=98=20=EB=A9=94?= =?UTF-8?q?=EB=89=B4=20=ED=82=A4=EB=B3=B4=EB=93=9C=EB=A1=9C=20=EC=A0=9C?= =?UTF-8?q?=EA=B1=B0=ED=95=A0=20=EB=95=8C,=20=EC=95=A0=EB=8B=88=EB=A9=94?= =?UTF-8?q?=EC=9D=B4=EC=85=98=20=EC=98=A4=EB=A5=98=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Assets/_DDD/_Scripts/Game/GameUi/CommonButton.cs | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/Assets/_DDD/_Scripts/Game/GameUi/CommonButton.cs b/Assets/_DDD/_Scripts/Game/GameUi/CommonButton.cs index 803522936..2e8b361cf 100644 --- a/Assets/_DDD/_Scripts/Game/GameUi/CommonButton.cs +++ b/Assets/_DDD/_Scripts/Game/GameUi/CommonButton.cs @@ -269,6 +269,13 @@ public void OnSubmit(BaseEventData eventData) public void SetInteractable(bool interactable) { _button.interactable = interactable; + if (interactable == false) + { + _isHighlighted = false; + _isPressed = false; + _isSelected = false; + _isToggled = false; + } UpdateVisualState(); }