Search Unity

OnPointerDown and OnPointerEnter executing in different order in Editor than on Android.

Discussion in 'UGUI & TextMesh Pro' started by SamMcA, Apr 20, 2015.

  1. SamMcA

    SamMcA

    Joined:
    Dec 17, 2013
    Posts:
    9
    I'm having a problem where in the Editor, OnPointerDown executes before OnPointerEnter but on Android (when I build and run on my device) OnPointerEnter executes before OnPointerDown.

    Is there a way of changing this or do I just have to write platform specific code?

    Thanks
     
  2. gfaraj

    gfaraj

    Joined:
    Jul 11, 2016
    Posts:
    35
    *Bump*
     
  3. karl_jones

    karl_jones

    Unity Technologies

    Joined:
    May 5, 2015
    Posts:
    8,291
    Hmm can you file a bug report? Inconsistent behaviours could be considered a bug although it may be down to touch and mouse input differences.