오늘의 메뉴 키보드로 제거할 때, 애니메이션 오류 수정
This commit is contained in:
parent
e018efe9a4
commit
1b039ea8c8
@ -269,6 +269,13 @@ public void OnSubmit(BaseEventData eventData)
|
|||||||
public void SetInteractable(bool interactable)
|
public void SetInteractable(bool interactable)
|
||||||
{
|
{
|
||||||
_button.interactable = interactable;
|
_button.interactable = interactable;
|
||||||
|
if (interactable == false)
|
||||||
|
{
|
||||||
|
_isHighlighted = false;
|
||||||
|
_isPressed = false;
|
||||||
|
_isSelected = false;
|
||||||
|
_isToggled = false;
|
||||||
|
}
|
||||||
UpdateVisualState();
|
UpdateVisualState();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user