Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Topics - focus

Pages: [1]
DOTween & DOTween Pro / DOTweenAnimation overwrite
« on: November 26, 2015, 01:21:02 PM »
Hey guys!

One more silly question from me:
is it possible somehow to overwrite DOTweenAnimation with another DOTweenAnimation on same object?

Let say I have button and 2 animations - to push it with one ease and to pull it back with another one.
I'd like to be able to start the push animation and even if it didn't complete, run the pull back animation (if user cancelled the push before it finished).

Is it possible to make?


DOTween & DOTween Pro / DOTween Pro code-related questions
« on: November 24, 2015, 06:51:04 PM »
Hey again, Dainele! And, obviously all other forum residents!

Is it possible to somehow control DOTweenAnimation's events from code?
For example, I'd like to subscribe to the OnComplete event from code, but not sure it's possible without making public proxy which will be called by the event which I can set up in inspector.

Sorry if my question was answered before, I did tried to search forums without success before posting it =\

DOTween & DOTween Pro / DOTweenAnimation question
« on: June 07, 2015, 05:05:22 PM »
Hey, Daniele!

Is it possible to determine if some DOTweenAnimation instance was played to the end without using OnComplete?
I have bunch of objects with DOTweenAnimation on them. And they have AutoPlay enabled & AutoKill disabled.
The goal - make DOTweenAnimation play on every object (re-)activation.
It works for the first time (when object if activated first time), but when I de-activate and re-activate it back I'd like to play animation again (rewind and play). I guess I should do it in the OnEnable MonoBehaviour callback and looks like I'm missing some obvious option as always, but I can't figure out how to check if DOTweenAnimation was played to the end to rewind it and re-play only when it was fully played, but not in the first time %)

I hope I didn't confused you even more with such fuzzy description =D

DOTween & DOTween Pro / DOTween feature requests
« on: April 14, 2015, 12:30:32 PM »
Heya, Daniele and all others who read this!

I have one feature request for DOTween:
DOScale(uniformValue, duration);

so we could do

DOScale(0.8f, 1f);

instead of

DOScale(new Vector3(0.8f, 0.8f, 0.8f), 1f);

Or maybe we already have something like this and I just need to read docs better?


Pages: [1]