Search Unity

Canvas UI (Panel Image) blocking Touch events

Discussion in 'Scripting' started by 4wall, Oct 20, 2017.

  1. 4wall

    4wall

    Joined:
    Sep 16, 2014
    Posts:
    73
    Right now I have full screen UI elements (Panel, Image) and they seem to be blocking any Touch events when using LeanTouch. This is in an ARkit application.
    This seems to be the opposite problem most people have in trying to block touch events


    How do I solve this?
     
  2. MSplitz-PsychoK

    MSplitz-PsychoK

    Joined:
    May 16, 2015
    Posts:
    1,278
    Try changing the "blocking" settings on your "GraphicRaycaster" component attached to your canvas.

    If that doesn't work, check if you are tapping multiple colliders. I don't know how LeanTouch works, but it's possible they may ignore additional hits after processing the first, and they likely won't be processed in a predictable order.