Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Topics - pakl

Pages: [1]
1
I'm trying to animate Time.timescale using an easing function.

Tweening the value itself seems to work:

Code: [Select]
DG.Tweening.DOTween.To(value => Time.timeScale = value, 1, 0, 0.4f);
But all the SetX() methods mentioned in the documentation are not available on the object this returns and while I found out that I could set the `timeScale` property, there doesn't seem to be any way to use an easing function for this tween.

What am I missing?

(cross posted from http://stackoverflow.com/questions/32707355/how-do-you-animate-unity-time-timescale-using-an-easing-function-with-dotween, since SO doesn't seem to have a lot of DOTween questions).

Pages: [1]