Dotween pro/ playing all by id at runtime doesnt working.
« on: June 18, 2016, 01:58:21 PM »
Dotween pro/ playing all by id at runtime doesnt working as expected. :-\

I have 2 dotweenanimation component for an object.
and when I wantto play only one tween. both tween playing.
so how can I play and pause Dotweenaniamtion components individually at runtime ?
this is my code. and there is no accessviolation error. but no animation works or all works by sequence order.
eg I run this code dotweenanims[1].play()   dotweenanims[0] also plays.

 DOTweenAnimation[] dotweenanims;

        foreach (GameObject e in gameObjects)
        {
            //DOTween.Play(e,"p2");
            dotweenanims = e.GetComponents<DOTweenAnimation>();
            //
            //DOTween.Play("p2");
            dotweenanims[1].DOPlay();
         }
« Last Edit: June 18, 2016, 03:08:02 PM by halukcetiner »