Demigiant Forum

Unity Assets => DOTween & DOTween Pro => Topic started by: tslava on January 29, 2016, 03:55:06 AM

Title: AutoPlay usage
Post by: tslava on January 29, 2016, 03:55:06 AM
When do you set DOTween.defaultAutoPlay settings ?

I tried set it to false in Awake function, then create sequence in Start and use sequence later, but it still plays 1 time.
Also I tried to set it in my Loading scene, but it doesnt seem to work if the object has no tweens.
Title: Re: AutoPlay usage
Post by: Daniele on January 29, 2016, 10:52:46 AM
Hi!

defaultAutoPlay must be set after DOTween has been initialized (either when starting the first tween, or by calling DOTween.init). Otherwise, if you want to set it project-wise, you can simply change the relative option in DOTween's Utility Panel, which will be applied automatically (and will overwrite any defaultAutoPlay set before initialization).

Cheers,
Daniele
Title: Re: AutoPlay usage
Post by: tslava on February 03, 2016, 04:02:24 AM
Thank You for reply, I completely forgot about utility panel in the Editor.