Tasharen Entertainment Forum

Support => NGUI 3 Support => Topic started by: Dengao on April 24, 2015, 06:05:58 AM

Title: Button not working with mouseclick after upgrade.
Post by: Dengao on April 24, 2015, 06:05:58 AM
Hey. i've been working with NGUI version 3.4.8 for a long time now. We recently moved our prosject to unity 5, and wanted to upgrade to the newest NGUI version(3.8.2).
The problem is that buttons dont work anymore with mouseclick. We use OnClick() function to get the function we want to run, and a "UIKeyBinding" script to get the hotkey. The hotkey is working fine, but i still cant click on the buttons with mouse. I dont think it is raycast problem, because the tooltip is working fine and when u click on the button the "UiButton" on hover and pressed is changing colors.
I also have "RayCast Hit triggers" on in physics, and colliders in the buttons. It was working before so dunno what happened.

Thanks in advance.
Title: Re: Button not working with mouseclick after upgrade.
Post by: ArenMook on April 24, 2015, 07:51:04 AM
Is your tooltip delay set to 0?
Title: Re: Button not working with mouseclick after upgrade.
Post by: Dengao on April 24, 2015, 08:46:03 AM
Yes. But i want it to be 0
Title: Re: Button not working with mouseclick after upgrade.
Post by: Dengao on April 24, 2015, 08:48:56 AM
well it fixed the problem tho, TY :)
Title: Re: Button not working with mouseclick after upgrade.
Post by: ArenMook on April 27, 2015, 04:19:33 PM
Just a note, the tooltip delay set to 0 thing is already fixed in the Pro repository.
Title: Re: Button not working with mouseclick after upgrade.
Post by: Dengao on May 05, 2015, 08:35:11 AM
Ty alot :) really helps