OnPointerEnter not working anymore? It became OnPointerClick?
Hi There,
I was using OnPointerEnter before it works great. However after upgrading from 5.4.1f1 to 5.5.0f3 for some reason it OnPointerEnter to OnPointerExit.
public void OnPointerEnter(PointerEventData eventData)
{
//This does not trigger on PhysicRaycaster... what is going on?
Debug.Log("Enter");
}
I have to click it instead of hovering it.
does the script implement the corresponding interface?
Yeah I did added IPointerEnterHandler. It does show the funny part was, I am using "PhysicRaycast" Component. When i tried to double click it this warning message show. Unable to open C:/Program Files/Unity/Editor/Data/UnityExtensions/Unity/GUISystem/UnityEngine.UI.dll: Check external application preferences.
I am guessing this is why it's not triggering.
Your answer
Follow this Question
Related Questions
addforce elevator behaviour 1 Answer
Automatic cannon aiming 2 Answers
how to cause to character contorller to rotate when it collide the wall? 1 Answer
Hinge joint conveyor with no friction 0 Answers