Question: If I have a 10 second animation, is there a way to fire off an event at the 5 second mark?
Feature idea: iTween.MoveTo() has onstart, onupdate, and oncomplete callbacks. What about adding an onAnimationEvent? Perhaps MoveTo() could accept an array of animation events (points on a timeline with IDs and user values)
For now I guess you could just query how far along you are in your move in “onupdate” and once you pass the .5 threshold fire your event OR you could use a WaitForTime() that launches as soon as you launch your iTween.
For now I guess you could just query how far along you are in your move in “onupdate”
How do I do this?
I have a number of tweens on a gameobject, scale and two different color ones. I need to know how far along the tween it is to modulate another object, but I can’t see how to access %?