Hi,
When I create a sequence and set a delay, the sequence is played perfectly with this delay.
The problem comes when I add an onStart event to the sequence. This event is fired when the sequence starts playing and not after the delay as it should be.
As a workaround, adding this onStart event to the first tween of the sequence solves the problem.
Hi,
When used with Sequences, SetDelay is the same as using PrependInterval, and that is why OnStart is called immediately: delays exist only with Tweeners. Sorry for the confusion, will explain it better in the docs.
Cheers,
Daniele
Thanks @Demigiant
Then, the good way to achieve this is to set the onStart to the first Tween, right?
Yes! :) And if instead than a callback that fires only once, you want one that fires every time the Sequence starts from the beginning, you should instead use InsertCallback on the Sequence with a time value of 0.
Most helpful comment
Yes! :) And if instead than a callback that fires only once, you want one that fires every time the Sequence starts from the beginning, you should instead use InsertCallback on the Sequence with a time value of 0.