Demigiant Forum
Unity Assets => DOTween & DOTween Pro => Topic started by: cynicalwanderer on May 29, 2015, 05:52:52 PM
-
Hi again,
Is there a way to do a "GetValue" or similar sort of read on a Tweener, to return its TO (or FROM) object value that it has got stored in its DOTween Pro component in the inspector? What I'd really like to be able to do is to grab the value from one tween - which can vary based on some logic in my code - and then put it into a different tween using ChangeStartValue or ChangeEndValue, to get some conditional chaining working.
Is there a way to do this now? If not, would it be possible to add something like that?
Cheers,
Shannon
-
Hello!
Taking the target's value from the tween itself is not really doable, but why can't you just check your property value directly?
-
Okay, thanks for confirming. I was trying to be lazy about it, but I guess I'll have to keep some references in the code to refer to after all. :P