Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

How to ignore Pointer Exit event when click on the UI object?

Discussion in 'UGUI & TextMesh Pro' started by S_P, Jun 17, 2016.

  1. S_P

    S_P

    Joined:
    Sep 20, 2014
    Posts:
    55
    When pointer enters, it calls a function that make a Boolean true. When it exits, it makes the Boolean false. But when I click on the UI object it calls Pointer Exit for very small amount of time(low fps misses it). Then it goes to Pointer Enter again after Pointer Down part of Click. How can I stay entered or not exiting when clicking? UIEvent.png