Ship the WeChat hot-update catalogs and the camp, TideWhale T2, UI atlas, and animation-lab work.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
udx
2026-10-24 18:04:41 +08:00
co-authored by Cursor
parent 6ebc9401ce
commit 45e62132c8
1432 changed files with 2971856 additions and 2798 deletions
+3 -1
View File
@@ -49,7 +49,9 @@
## 5. 支持组件
Canvas、CanvasScaler、GraphicRaycaster、CanvasGroup、Image、TextMeshProUGUI、Button、Shadow、Outline、ScrollRect、RectMask2D、Mask、TMP_InputField、VerticalLayoutGroup、ContentSizeFitter、LayoutElement、MonoBehaviour。
Canvas、CanvasScaler、GraphicRaycaster、CanvasGroup、Image、RawImage、TextMeshProUGUI、Button、Shadow、Outline、ScrollRect、RectMask2D、Mask、TMP_InputField、VerticalLayoutGroup、ContentSizeFitter、LayoutElement、MonoBehaviour。
`assets.sprites` 的明确路径会被实际使用,声明资源缺失时生成失败。RawImage 可用 `material` 指定 Assets 下的材质完整路径,并配置 `color`、`raycastTarget`;业务预览着色器通过序列化材质引用进入资源包。
不要依赖未实现的 Toggle/Slider/Scrollbar/TMP_Dropdown/ScrollView 完成核心功能。
+5 -3
View File
@@ -42,6 +42,8 @@
- 标准控件底图必须九宫格:`imageType: Sliced` + Sprite 有效非零 `Border` + `Full Rect`;按钮状态图同样设置。Common 导入规则:`UiSpriteNineSliceRules.cs`;修复菜单:`Tools/UI/Apply Standard Control Nine-Slice`。
- 按钮:SpriteSwap 优先
- `MonoBehaviour.typeName` 指向 HotUpdate 类型
- 安全区等通用基础组件可指向 AOT 类型;主界面顶部布局使用 `AOT.UI.UiSafeArea`,业务按钮避开摄像头与微信胶囊,背景保持全屏。
- 转换器遵循 `assets.sprites` 显式路径;`RawImage.material` 为序列化材质引用,禁止仅依赖 Shader.Find 保留业务预览 Shader。
## 资源加载
@@ -53,12 +55,12 @@
- 当前仅使用 Candy 糖果风;Studio / Mint 主题与停用的切换入口已删除。
- `BootSettings.UiTheme` / 远程 `version.json.uiTheme` 保留用于旧配置兼容,其他值回退 Candy。
- 业务按逻辑名异步打开:`UiManager.OpenAsync`。
- UI Prefab 收集进 Art/UI,图片与字体作为依赖进入资源包。
- UI Prefab 与自动图集收集进 Art/UI,图片跟所属图集同包,字体作为 Prefab 依赖进入资源包。
## 与图集方案关系
- 现阶段允许 Common 下单图 Sprite 直接被 Prefab 引用。
- 目录级自动 SpriteAtlas / 打包绑定见 `Doc/UI_Atlas_Pipeline.md`(后续里程碑)。
- Prefab 继续直接引用单图 Sprite,JSON 路径与九宫格 Border 保持不变。
- 目录级自动 SpriteAtlas、YooAsset 同包及运行时异步绑定见 `Doc/UI_Atlas_Pipeline.md`。
## Agent 边界