Mouse wheel scroll doesn't work with Unity UI Color Text
Posted: Tue Dec 26, 2017 8:43 pm
Hi,
I'm in the process of customizing a Dialogue UI for a new project. I've used the generic one as a template, so I've been able to use the mouse wheel to scroll the Response Panel contents.
That functionality has stopped working when I've added a Unity UI Color Text script and an Event Trigger script components to the button template, to highlight each response when hovering them.
I still can scroll the responses if I use the scrollbar handler, but not the mouse wheel. Or to be more accurate, if I'm hovering a response then I can't use the mouse wheel to scroll them. I need to move the mouse pointer outside (but still inside the Response Panel) them so it works.
I'd very much like to tint the responses when hovering them, but also being able to scroll the responses with the mouse wheel, which is the most intuitive way to do it, ofc.
What could I do in this case?
I have Unity 2017.1.2p4 and Dialogue System 1.7.6.
Some screenshots...:
I'm in the process of customizing a Dialogue UI for a new project. I've used the generic one as a template, so I've been able to use the mouse wheel to scroll the Response Panel contents.
That functionality has stopped working when I've added a Unity UI Color Text script and an Event Trigger script components to the button template, to highlight each response when hovering them.
I still can scroll the responses if I use the scrollbar handler, but not the mouse wheel. Or to be more accurate, if I'm hovering a response then I can't use the mouse wheel to scroll them. I need to move the mouse pointer outside (but still inside the Response Panel) them so it works.
I'd very much like to tint the responses when hovering them, but also being able to scroll the responses with the mouse wheel, which is the most intuitive way to do it, ofc.
What could I do in this case?
I have Unity 2017.1.2p4 and Dialogue System 1.7.6.
Some screenshots...: