cc全局变量已经弃用了,如何实现之前cc.fadeto的功能?
fadeTo(duration: number, opacity: number) {
tween(this.node.getComponent(UIOpacity))
.to(duration, { opacity: opacity })
.call(() => {
})
.start();
}
多谢多谢!
该主题在最后一个回复创建后14天后自动关闭。不再允许新的回复。