+1
Pending Review

Unity Message Listener Problem

Lucid 2 years ago updated 2 years ago 2

Hello all, When i add "On Button Click" to my graph Bolt creates a "Unity Message Listener" onto my Button.

I understand why this happens but when using that button under a Scroll Rect I can not drag the Panel if the touch is on the button. Everything works if i remove the listener during play mode so the listener is making it act funny. Any work around Ideas for this?

Bolt Version:
Unity Version:
Platform(s):
Scripting Backend:
.NET Version (API Compatibility Level):
Pending Review

Hi Lucid,

I'm not sure why that would happen, it sounds like because we hook into the IDragEventHandler interface, there might be some conflict. Can you send a small reproduction scene?

+1

I found a workaround. I added MessageListener to bolts type options and was able to disable the listener. As long as i wasn't disabling the listener in a start event the button still worked and i was able to scroll the scroll rect.