Tasharen Entertainment Forum

Support => NGUI 3 Support => Topic started by: Holdwick on December 05, 2013, 11:39:30 PM

Title: Bug: Mouse not working properly with Time.timeScale = 0
Post by: Holdwick on December 05, 2013, 11:39:30 PM
It seems like the mouse isn't getting detected properly when timeScale is set to 0. Hovering over buttons doesn't register and clicking on the buttons also doesn't get detected. I am using NGUI 3.0.6 f7 currently.
Title: Re: Bug: Mouse not working properly with Time.timeScale = 0
Post by: wom on December 06, 2013, 01:06:13 AM
http://www.tasharen.com/forum/index.php?topic=6915.0
Title: Re: Bug: Mouse not working properly with Time.timeScale = 0
Post by: dualite2 on December 06, 2013, 01:13:56 AM
rooo i just post the same issue...

Hi,
I just update to 3.0.f7 and i previously use : Time.timeScale = 0f; in my script for pausing game.

That seems now with Unity 4.3.0f4 (OS X) that just block all NGUI event.
Then now i can show the GUI but... that all no hover, click ...

Can you please check this ?

Thank you.
Title: Re: Bug: Mouse not working properly with Time.timeScale = 0
Post by: ArenMook on December 06, 2013, 03:45:21 AM
Did you not see the link Wom posted? The fix is inside.
Title: Re: Bug: Mouse not working properly with Time.timeScale = 0
Post by: dualite2 on December 06, 2013, 05:04:10 AM
Yes i see.

Thank you.