public LTDescr setLoopClamp( int loops )
{
this.loopCount = loops;
return this;
}
LTDescr::setLoopClamp ( ) : LTDescr |
private void Animate() { switch (animationType) { case UIAnimationTypes.Fade: tweenObject = Fade(); break; case UIAnimationTypes.Move: tweenObject = Move(); break; case UIAnimationTypes.Scale: tweenObject = Scale(); break; } tweenObject.setDelay(delay); tweenObject.setEase(easeType); if (loop) { tweenObject.setLoopClamp(); } if (pingpong) { tweenObject.setLoopPingPong(); } }