< 문제 >
이런식으로 겹쳐져 있고 네모Button(■)을 눌러야하는 상황인데 큰 원(O) Image가 위에 있어서 input이 정상적으로 되지 않았음
< 해결방법 >
큰 원(O) Image 의 Raycast Target을 비활성화 시키면 button input이 정상적으로 눌러질 수 있었음
button도 화면에 raycast를 쏴서 click을 받는 것이기 때문에 raycast의 영향을 받지 않도록 하면 되는 것이었음
'Unity > 문제 해결' 카테고리의 다른 글
[Unity/Material] 3d object alpha 값 조정 (0) | 2022.11.24 |
---|---|
[Unity/UI] Sprite Renderer RenderQueue 관련 설정 (0) | 2022.11.22 |
[Unity/IO] System.IO - 해당 경로에 파일이 있는지 확인 (0) | 2022.11.11 |
[Unity] scene 창에서 canvas를 선택하는 방법 (0) | 2022.11.09 |
[Unity/UI] 버튼 클릭이 겹칠 때 해결 방법 (0) | 2022.11.02 |