Hi Aren,
I want to restart tween animation.
For that purpose, I write following codes.
sprite.gameObject.SendMessage("Play", true);
sprite.gameObject.SendMessage("Reset");
But, a problem occurred.
Delay don't work of the second playing.
Delay is initalized by following code (in UITweener.cs)
void Start ()
{
mStartTime = Time.realtimeSinceStartup + delay;
Update();
}
"mStartTime" is not initialized with delay in second play.
Because, Start() is called only once.
Please fix this problem.
Sorry for my poor English.
Thanks.