- Home /
Question by
slimshader · Dec 20, 2015 at 11:13 AM ·
raycasteventsystem
Using Physics Raycaster and mouse move RaycastHit
Currently I am using Physics.Raycast to determine the point on terrain that the mouse cursor is pointing at. I am trying to replace it with new Unity Event System. There is no problem with adding IPointerEnterHandler and IPointerExitHandler but it seems IMoveHandler is not what I think it is i.e. OnMove() is not called when cursor is moved on the currently selected game object. Is there a way to get Hit point when mouse is moving using only new Event System or can it only be used to know when OnEnter/OnExit happenes?
Comment
Your answer
Follow this Question
Related Questions
understand how "Raycast Target" works on UI elements 2 Answers
TMPro UI elements not blocking raycasts 2 Answers
Unity 4.6 UI - Ignore raycast -1 Answers
How do you perform a Graphic Raycast? 3 Answers