Open NibbleByte opened 2 years ago
Ahoy! Adding this to my TODO list :)
same issue,we even add feature to set value on tween complete, for using dotween for interruptable ui animation
Has this function been updated? Can I specify Start Value?
I need this feature too, was Googling to find it
Hello,
We consider this to be a missing feature. DOTweenAnimation should allow (optionally) to specify what value it should start from instead of the current value left in the editor. Here is a simple use case:
At the moment it seems impossible to set the starting value (no matter TO/FROM) of the tween. It will always flash from white to orange. There are ways to go around this, but it would be simpler if DOTweenAnimation supported this.
We ended up extending it, adding "Start Value" option. It hooks up right before tween creation and sets the specified value, so the DOTween created finds this as initial value. It is kind of a hack indeed. Had to fix the preview as well to restore it on stop.
DOTween v1.2..632 DOTweenPro v1.0.310
Cheers