Anyone know a workaround to get PointerEnter events detecting when a new element is created under the cursor? Unity assumes that if a gui element is created under the cursor then it didn’t enter it. It makes my tooltips sad when the player needs to move the cursor off the button and then back on to get them to pop-up.
I’m using the standard:
EventTrigger.Entry entry = new EventTrigger.Entry();
entry.eventID = EventTriggerType.PointerEnter;
entry.callback.AddListener((eventData) => { OnPointerEnter(); });
trigger.triggers.Add(entry);