Closed Sargerus closed 2 years ago
If your tween loops infinitely (aka loops set to -1) it can't complete (not only the OnComplete callback won't fire, but also the animation will continue playing because Complete is ignored) :P If you want a callback when a "loop step" completes you can use OnStepComplete
, or if you want to be able to complete a semi-infinite loop cycle you can set its loops to int.MaxValue
` public GameObject asd; private Tweener tw;
It is easy to reproduce. Pressing Q button won't trigger tweeners OnComplete() until you make SetLoops(any natural number).