850176300 / dotween

Automatically exported from code.google.com/p/dotween
0 stars 0 forks source link

Add unscaled time support #11

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
DOTween seems to rely Time.timeScale, but I need to tween some UI values while 
the game is paused with Time.timeScale at 0.

Is there an option I missed to do that? 
If not, could it be possible to add?

Original issue reported on code.google.com by hg.bl...@gmail.com on 23 Sep 2014 at 4:21

GoogleCodeExporter commented 8 years ago
It's there already :) Just chain the SetUpdate setting with the 
isIndependentUpdate option set to TRUE: 
http://dotween.demigiant.com/documentation.php?api=SetUpdate

myTransform.DOMoveX(2, 1).SetUpdate(true);

Original comment by daniele....@gmail.com on 23 Sep 2014 at 4:44

GoogleCodeExporter commented 8 years ago
I knew I was missing something... It works, thanks for the help :)

Original comment by hg.bl...@gmail.com on 23 Sep 2014 at 8:14

GoogleCodeExporter commented 8 years ago
Thanks to you for making me notice it's not that clear how to do that. I now 
changed the docs and added your question to the FAQ ;)

Original comment by daniele....@gmail.com on 23 Sep 2014 at 8:41