Skip to content

fix(particle): 修复二维粒子重新开启预览后不播放的问题 - #325

Open
zenoskongfu wants to merge 1 commit into
cocos:v4.0.0from
zenoskongfu:codex/fix-particle-2d-preview
Open

fix(particle): 修复二维粒子重新开启预览后不播放的问题#325
zenoskongfu wants to merge 1 commit into
cocos:v4.0.0from
zenoskongfu:codex/fix-particle-2d-preview

Conversation

@zenoskongfu

@zenoskongfu zenoskongfu commented Sep 5, 2026

Copy link
Copy Markdown
  • 解决的问题:2D 粒子关闭 Preview 后重新开启,粒子无法恢复播放,需要重新选中节点才会出现。
  • 解决方式:调整 Preview setter 的执行顺序,开启时先更新预览状态,再启动粒子,避免被旧的关闭状态拦截;关闭时保留原有清理顺序,并补充连续开关和焦点切换的回归测试。

@github-actions

github-actions Bot commented Sep 5, 2026

Copy link
Copy Markdown

Code Size Check Report

Wechat (WASM) Before After Diff
2D Empty (legacy pipeline) 1015436 bytes 1015436 bytes ✅ 0 bytes
2D All (legacy pipeline) 2683579 bytes 2683601 bytes ⚠️ +22 bytes
2D All (new pipeline) 2775832 bytes 2775854 bytes ⚠️ +22 bytes
(2D + 3D) All 10033446 bytes 10033468 bytes ⚠️ +22 bytes
Web (WASM + ASMJS) Before After Diff
(2D + 3D) All 16869864 bytes 16869886 bytes ⚠️ +22 bytes

Interface Check Report

This pull request does not change any public interfaces !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant