khangnhfuky / hotween

Automatically exported from code.google.com/p/hotween
0 stars 0 forks source link

Delay isn't taken into account when adding a Tweener to a Sequence through the Append() method #65

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Create a new Sequence
2. Append a Tweener through a HOTween.To() method call
3. Add a Delay() method call to the TweenParms instance
4. Play the sequence

What is the expected output? What do you see instead?
I was expecting to see the delay being applied before the Tween actually 
executes. Instead, the Tween is executed as soon as the Sequence gets to its 
call.

What version of the product are you using? On what operating system?
1.1.882

Please provide any additional information below.

Original issue reported on code.google.com by philippe...@indiefreaks.com on 3 Jan 2014 at 1:12

GoogleCodeExporter commented 9 years ago
Hi Philippe,

delays (and loops) won't work inside Sequences. But you can use 
mySequence.AppendInterval (or Prepend/Insert) to achieve the same result.

Original comment by daniele....@gmail.com on 3 Jan 2014 at 1:31