Localmove question
« on: July 21, 2016, 08:44:59 AM »
Hi, I have a question regarding using Localmove component. I'm trying to use it for my text UI, making it to move upward(as damage text in many games) and I'm initializing my text by object pool that i made. The problem is that it doesn't reset it's start and end position once it's used more than once.
So I added some custom code to reset it like
foreach (var i in textUI.GetComponents<DOTweenAnimation>())
but it didn't seems to work.

my setting for the localmove component is like attatchment.

Only way I get it working was using this script,
textUI.transform.DOLocalMoveY(textUI.transform.localPosition.y + 20, .5f);

Is there something that I've missed?

Thank you in advance for your help :)