AutoPlay usage
« 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.

*

Daniele

  • Dr. Admin, I presume
  • *****
  • 378
    • View Profile
    • Demigiant
Re: AutoPlay usage
« Reply #1 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

Re: AutoPlay usage
« Reply #2 on: February 03, 2016, 04:02:24 AM »
Thank You for reply, I completely forgot about utility panel in the Editor.