tween(root.getComponent(UIOpacity))
.to(1, { opacity: 0 })
.union() //整合成一个union
.repeat(1)
.start();
tween(root)
.to(1, { opacity: 0 })
.union() //整合成一个union
.repeat(1)
.start();
很简单的一个例子,就想让文字实现渐隐效果,root是传入的Lable,试了这两种写法(或者root.node)都不行,求助怎么写,看了缓动例子类似去写有点懵啊
