Timeline for Input while using Input System and Unity UI [duplicate]
Current License: CC BY-SA 4.0
6 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Oct 2, 2023 at 1:01 | history | closed | DMGregory♦ unity Users with the unity badge or a synonym can single-handedly close unity questions as duplicates and reopen them as needed. | Duplicate of UI clicks hitting game objects below | |
| Oct 2, 2023 at 1:01 | comment | added | DMGregory♦ | I'm glad you solved your problem! If you find a case this doesn't solve, feel free to edit your question to have it re-opened, or post a new question. | |
| Oct 1, 2023 at 21:31 | comment | added | stripies | @DMGregory For some reason I thought that wouldn't work with multiple canvases but that doesn't seem to be the case. For text input then I can check if a text field is selected and ignore it. So this can be marked as duplicate. | |
| Oct 1, 2023 at 20:45 | comment | added | DMGregory♦ | You can check EventSystem.IsPointerOverGameObject when handling mouse clicks in other scripts, and abort if it returns true. This way your other scripts can selectively ignore clicks on UI objects. If that solves your problem, we can resolve this question as a duplicate of the one in the link. If not, can you edit your question to clarify what you need that's different from this? | |
| S Oct 1, 2023 at 19:49 | review | First questions | |||
| Oct 2, 2023 at 1:05 | |||||
| S Oct 1, 2023 at 19:49 | history | asked | stripies | CC BY-SA 4.0 |