Skip to content

Some input detection scripts don't work due to SafeArea overlay. #8

Closed
@karolsw3

Description

@karolsw3

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions