Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

希望能将"自动图集" 的核心信息记录在.pac文件中, 而不是.pac.meta文件中 #16976

Open
finscn opened this issue May 12, 2024 · 0 comments
Assignees
Labels
Feature Request Needs Triage Needs to be assigned by the team

Comments

@finscn
Copy link
Contributor

finscn commented May 12, 2024

Use Case

记录在 .pac 中, 开发者就可以通过复制文件 来轻松的将一个 设置好策略的自动图集文件 复制到多个目录里.
(比如 游戏一共有100多个装有图片的目录, 其中有30多个要应用方案A的自动图集, 还有20个用方案B, 其他的不用自动图集)

但是记录在meta里, 无法轻松实现这个需求.
因为首先 要复制两个文件.pac 和 .pac的meta , 其次meta中的uuid会冲突. 而且meta默认在编辑器里不可见, 理论上开发者也不应该直接操作meta (即使cocos会自动更正meta中的uuid, 直接操作meta也是不合理的)

这个需求从2.x 就提过了 希望 3.x 能改进.

这个改进的兼容问题很好解决. 引擎可以尝试处理pac文件, 发现pac里没有核心数据后, 再尝试处理 meta.
或者升级引擎后 统一将项目里的 .pac.meta里的信息移动到.pac里.

Problem Description

如上所述.

Proposed Solution

No response

How it works

No response

Alternatives Considered

Additional Information

No response

@finscn finscn added Feature Request Needs Triage Needs to be assigned by the team labels May 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature Request Needs Triage Needs to be assigned by the team
Projects
None yet
Development

No branches or pull requests

2 participants