- Home /
Question by
BilboStabbins · Jul 28, 2018 at 02:27 AM ·
settingstween
DOTween - How to assign a target transform in script?
Hi,
I 'm using DOTween V2 and have an object with two DOTween Animation components on it - lets say they have IDs, nameA and nameB.
I'd like to be able to assign a target transform to one of them in script. Can anyone help with this?
While on the subject, is there a way to get a permanent reference to either component (say using something like:
DOTweenAnimation PingPongAnim = GetComponent<DOTweenAnimation>()...get ID()...
Thanks
Comment