Search Unity

Question IPointerExitHandler is working fine on my button, but IPointerEnterHandler won't fire at all.

Discussion in 'Input System' started by TiggyFairy, Mar 26, 2023.

  1. TiggyFairy

    TiggyFairy

    Joined:
    Dec 22, 2019
    Posts:
    506
    Basically, I can't mouse over object and have them be detected - but I can move my mouse off of the object and have it be detected. When I went into Visual Studio I noticed that eventData wasn't linked to the IPointerEnterHandler, and I clicked to fix it - but it still won't fire.

    Nothing is blocking the object, I have the script on - and there's an Event System. I've also made sure there are no IPointerEnterHandlers further up the hierarchy. My one remaining clue is that I think I accidently set it to point to another file, but I don't know for sure and I don't know how to check. I also think I deleted the file it made. Anyone know what's going on?
     
    Last edited: Mar 26, 2023