Skip to content

When clicking on a mobile platform, some gameobject will trigger OnEnter event without OnExit event #16

@meteorLJY

Description

@meteorLJY

The TouchInputModule executes OnEnter by calling the HandlePointerExitAndEnter function, which calls OnEnter for newEnterTarget and all its ancestor nodes, and add all gameobject that have executed OnEnter to the hovered list.
However, when pointer release it executes OnExit on pointerEnter gameobject only.

Image

I think the correct approach is invoke HandlePointerExitAndEnter(pointerEvent, null) when pointer release. Is this a bug or an expectation?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions