johnatm / itween

Automatically exported from code.google.com/p/itween
1 stars 2 forks source link

Enhancement Request: Use GameObject Collections #44

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
This might be lazy but anyway....

Would like to be able to give MoveTo etc a collection instead of a single 
GameObject, then have the 'onComplete' only fire after the last item has 
finished.

Example:

 bugCollection = GameObject.FindGameObjectsWithTag("Bugs");

 iTween.MoveTo(bugCollection, {"z":20,"time":5,"onComplete":"doStuff"});

Cheers!

Original issue reported on code.google.com by graham.h...@gmail.com on 6 Nov 2010 at 12:28

GoogleCodeExporter commented 8 years ago

Original comment by pixelplacement on 5 Jan 2011 at 6:41