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 - JosYule

Pages: [1]
1
I'm using a DOTweenAnimation component, set to do a fade.

I'm triggering it via a script, so to hide the component i'm calling DOPlayForward and to show it i'm calling DOPlayBackward.

I need to know when the animation is complete, so i'm using the "On Complete" event hook in the component to call a function in another script.

This works for the DOPlayForward style, but not for the DoPlayBackward call. How can i get a callback for when the animation is done when playing backwards? Ideally, i'd want the OnComplete called for this too.

Thanks
Jos

2
Hello.

Sometimes i need to create multiple chained sequences of movements with multiple DOTweenAnimation components. I'd like to be able to organize them using different GameObjects, so they are not all on a single GameObject, which makes it very hard to figure out what comes after what. For this to work, i would need a way to target a transform which is not the one the DOTweenAnimation component is part of.

I guess this is a feature request! :)

Thanks!
Jos

3
Hello!

I just purchased DotweenPro and am trying to do the following.

I have a UnityEngine.UI.Panel on which i've added 2 DotweenAnimation components. One to move the Panel off-screen, the other to move it on-screen. I then have a second component, on a different GameObject, with 2 DotweenAnimation fields. I put each of the Move animations into those fields, which i then call ".DOPlay()" on.

I can get the first one to work, but the second never seems to actually do anything. Am I using the wrong method to start the animations? Any suggestions?

Thanks!
Jos

Pages: [1]