James Chen
James Chen
Yes, it cause some issues that we need to use bit operation in many places. And Color._var is public and it uses a number instead of 4 numbers which does...
Fixed at https://github.com/cocos/cocos-engine/pull/17021 Close this one.
It was fixed at https://github.com/cocos/cocos-engine/pull/17088
@BenoitFreslon Cocos Creator uses `Entity Component` architecture. So `Node` is an entity without any rendering relative functionality. So you can't tween `color` property on Node since it doesn't exist on...
I misunderstand the issue. The issue is to create a tween color for sprite component, it is not relative to color property on `Node`. I will fix this issue soon.
@BenoitFreslon , thanks for your report. I submitted a pull request here https://github.com/cocos/cocos-engine/pull/16977 If you get time, you could apply this patch to verify whether it works for you.
target 只能为对象类型,不能直接传递一个 number 类型给 target。请问你是什么情况下会需要让target 为 number 类型呢?