Search Unity

Resolved Input System UI Input Module, Layer Mask?

Discussion in 'Input System' started by crazyjackel, Mar 7, 2021.

  1. crazyjackel

    crazyjackel

    Joined:
    Oct 10, 2018
    Posts:
    18
    Hi, so for the Input System UI Input Module, I was wondering if there was a layer mask feature set or some sort of work around to have it ignore certain game objects with IPointerClickHandler Monobehaviors and rather do the click behavior on the objects behind certain UI elements.

    I think there is some way to do with Pointer Behavior and TrackedDeviceRaycaster in the scene, but I am not sure. Data about Input System UI Input Module has been rather sparse from my perspective.

    [edit: was wrong about above, researched it, yeah that isn't going to help, looking for help on this]
     
    Last edited: Mar 7, 2021
  2. crazyjackel

    crazyjackel

    Joined:
    Oct 10, 2018
    Posts:
    18
    Bumping
     
  3. crazyjackel

    crazyjackel

    Joined:
    Oct 10, 2018
    Posts:
    18
    Edit Canvas Graphic Raycaster to not be on Everything in Block Mask, but to ignore Raycast.