Hello,
Is it possible to do fading effect (fade in and out) using cocos creator v3.4.1?
tween is not accepting alpha or color as target.
I just wanted to do this.node.active slowly.
You can use tween to change color like this:
tween(this.sp).to(0.5,{color:new Color(255,255,255,255)}).delay(2).to(0.5,{color:new Color(255,255,255,0)}).start()
dont use runAction.
I used the same code and no errors were reported, but I found that there are still bugs in changing the color value now, which we will fix in 3.6.
I updated the colors with update and it works fine.