You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm using ProCamera2D with the Pan and Zoom script, and "disable over uGUI elements" turned on (so that the panning is disabled when UI menu is open.
The problem is – the script doesn't detect any inputs anymore when using the SafeArea container.
The solution was to set both the SafeArea and #safe-area-content-container VisualElements PickingMode props to ignore.
PickingMode should be set to "ignore" for both elements by default.
The text was updated successfully, but these errors were encountered:
karolsw3
added a commit
to karolsw3/ui-toolkit-safe-area
that referenced
this issue
Mar 19, 2024
karolsw3
changed the title
Some input detection scripts not work due to SafeArea overlay.
Some input detection scripts don't work due to SafeArea overlay.
Mar 19, 2024
I'm using ProCamera2D with the Pan and Zoom script, and "disable over uGUI elements" turned on (so that the panning is disabled when UI menu is open.
The problem is – the script doesn't detect any inputs anymore when using the SafeArea container.
The solution was to set both the SafeArea and
#safe-area-content-container
VisualElements PickingMode props toignore
.PickingMode should be set to "ignore" for both elements by default.
The text was updated successfully, but these errors were encountered: