cocos-engine
cocos-engine copied to clipboard
Cocos simplifies game creation and distribution with Cocos Creator, a free, open-source, cross-platform game engine. Empowering millions of developers to create high-performance, engaging 2D/3D games...
### Cocos Creator version 3.8.4 ### System information 原生平台(模拟器, 安卓) ### Issue description 1.RichText问题描述: 有两个界面A,B,首先打开A界面,在A界面中,有N多个富文本,再一定时间间隔内随机文本进行渐变显示隐藏,之后打开 B 界面,在B界面中有用richtext显示文本,这时候,有很大概率 B中富文本内容显示不全。经反复测试,发现是 richtext中使用了 lablepool,在当 放入 池中的 label的透明度被设置为0后,再次被其他richtext再次利用时,没有重置 这个透明度,导致不显示,在richtext中添加 _applyTextAttribute 方法label.updateRenderData(true);前添加如下代码可解决,期待官方修复。 label.renderEntity.localOpacity = 1; label.renderEntity.colorDirty...
### Use Case 需求: 在项目里 为某个 sprite 指定 一个 自定义 Assembler . 目前 想在 项目里 自己写一个 Assembler 会遇到 某些类 cocos 没有导出 的问题. 比如 IBatcher 和 StaticVBChunk (可能不止这两个) 即使用一些方法 自己实现了 Assembler...
当 onDisable 时, _parentOpacity 需要还原为 1 . 当 触发_parentChanged() 时, 如果父节点不存在 , _parentOpacity 也需要还原为 1 . 否则 下次执行 UIOpacity 的 onEnable() 时, 还是用的之前的 _parentOpacity . ```ts public onEnable (): void...
### Cocos Creator version 3.8.6 ### System information android ### Issue description UIOpacity 组件中 `node._uiProps.localOpacity` 在有些地方 只与 `_opacity` 有关. 有的地方 又与 _parentOpacity 相关. opacity 的 setter 中, 只与 `this._opacity` 有关...