Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

7
  • They aren't deprecated .. and yes! These UI actions are exactly what you need. But then in your EventSystem on the according InputSystemUIInputModule you also need to make sure they are all assigned correctly Commented Mar 29 at 19:08
  • @derHugo image of my InputSystemUIInputModule added, along with my EventSystem. They are all with default values but I can't see what would be wrong with them? Commented Mar 29 at 19:23
  • Only obscure thing i can think of is are the items marked not raycast target? Commented 2 days ago
  • @BugFinder these should be firing every time the mouse moves so I don't see how that could be it ;/ Commented 2 days ago
  • @Jay if the raycast doesn't hit something then the events are not fired .. it's a good guess because besides that I don't really see why the approach would not work as expected. Another might be: are these objects part of a Canvas or 3D/2D collider objects? In the first case there needs to be a GraphicsRaycaster on the Canvas including according layer(s). In the second(or third) cases there needs to be a Physics(2D)Raycaster attached to the Camera Commented 2 days ago