akhilkrushnaa / hotween

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

Allow to Append/Insert Callback in Sequences #41

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
mySequence.Append(myTween0); // Append regular tween
mySequence.AppendCallback(myFunction0); // Called when myTween0 is complete
mySequence.Append(myTween1);
mySequence.Append(myTween2);
mySequence.AppendCallback(myFunction1); // Called when myTween2 is complete
mySequence.InsertCallback(0.5f, myFunction2); // Called after 0.5 seconds of 
playing the sequence

Original issue reported on code.google.com by daniele....@gmail.com on 9 Oct 2012 at 3:36

GoogleCodeExporter commented 8 years ago

Original comment by daniele....@gmail.com on 12 Oct 2012 at 3:27