Tasharen Entertainment Forum

Support => NGUI 3 Support => Topic started by: nah0y on November 19, 2012, 10:50:24 AM

Title: Ignore Timescale
Post by: nah0y on November 19, 2012, 10:50:24 AM
Hi Aren,

Can you tell us what's the benefit of ignoring or not the timescale in the tween scripts ?

Thanks !
Title: Re: Ignore Timescale
Post by: ArenMook on November 19, 2012, 05:12:07 PM
When you pause the game via timescale = 0, you want your UI to still work as if the game wasn't paused. For this, you ignore the timescale.
Title: Re: Ignore Timescale
Post by: nah0y on November 21, 2012, 12:25:00 PM
Thanks for the answer,

I've read somewhere that setting the timescale to 0 is not a so good idea to pause the game. Any issue you're thinking about when setting timescale to 0 ?
Title: Re: Ignore Timescale
Post by: Nicki on November 21, 2012, 05:19:26 PM
The main thing you have to be aware of when setting Time.scale = 0, is that your deltaTimes will be 0. It shouldn't really change other stuff.
Title: Re: Ignore Timescale
Post by: nah0y on November 21, 2012, 06:34:16 PM
THX for the precision Nicki!