1
DOTween & DOTween Pro / DOPlayBackwards method does not fire OnComplete
« on: July 07, 2015, 06:20:38 PM »
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
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