Search Unity

Mouse hover / click on specific object?

Discussion in 'Input System' started by BinaryEclipse, Feb 3, 2020.

  1. BinaryEclipse

    BinaryEclipse

    Joined:
    Sep 1, 2016
    Posts:
    43
    Is there no means of knowing what I'm clicking / hovering on with the new system? Is the only way to do a camera OverlapPoint? with the old input system, I used the event system with IPointerDownHandler and IPointerEnterHandler interfaces. What is the proper standard with the new input system?
     
    Grankor likes this.
  2. Grankor

    Grankor

    Joined:
    Mar 2, 2015
    Posts:
    14
    I'm also interested in knowing this. This is pretty critical to a currently developed inventory system.
    An alternative is acceptable, but we really need the mouseover and Drag events to work
     
  3. Rene-Damm

    Rene-Damm

    Joined:
    Sep 15, 2012
    Posts:
    1,779
    If you've set up uGUI to work with the input system, this should work as it does with the old input manager.