I have a “fadeIn” iTweenEvent, for fading the alpha of a renderer to a positive value. It’s played from code, and has a delay set of 1.5.
But I also have another “fadeOut” iTweenEvent for fading the alpha back down to 0. Sometimes this iTweenEvent can be played before the fadeIn tween has finished, and the fadeIn tween would carry on after the fadeOut tween had finished.
Using iTween.Stop, I can cancel the fadeIn tween before I play the fadeOut tween. But this doesn’t seem to work if the fadeIn tween is still in its delay period, and it will still fade the renderer in after the fadeOut tween is finished.
Is there something special I need to do to stop an iTween that has been delayed?