我不知道为什么TweenLite.delayedCall
函数(函数,计数)只重复4次然后停止?
function test1()
{
console.log('1');
TweenLite.delayedCall(2, test2);
}
function test2()
{
console.log('2');
TweenLite.delayedCall(2, test3);
}
function test3()
{
console.log('3');
TweenLite.delayedCall(2, test4);
}
function test4()
{
console.log('4');
TweenLite.delayedCall(2, test1);
}
我不知道为什么TweenLite.delayedCall
函数(函数,计数)只重复4次然后停止?
感谢你的回答!
答案 0 :(得分:1)
function test1()
{
console.log('1');
TweenMax.delayedCall(2, test2);
}
function test2()
{
console.log('2');
TweenMax.delayedCall(2, test3);
}
function test3()
{
console.log('3');
TweenMax.delayedCall(2, test4);
}
function test4()
{
console.log('4');
TweenMax.delayedCall(2, test1);
}
test1();