Bring in plaza props/prefabs, ZhaoYun source GLB, design originals, and Hunyuan/Blender tooling used to produce them. Co-authored-by: Cursor <cursoragent@cursor.com>
30 lines
1.4 KiB
Plaintext
30 lines
1.4 KiB
Plaintext
---
|
||
description: AIGame 项目基础规则(资源登记、UI 自动生成等必须遵守)
|
||
alwaysApply: true
|
||
---
|
||
|
||
# AIGame 项目说明
|
||
|
||
## 基础规则
|
||
|
||
1. **资源登记(必须)**:所有资源生成完成后,必须按类型追加到对应描述文件,并写明简要说明(用途、路径、生成方式等)。未登记视为流程未完成。
|
||
- 索引:`Doc/ResDesc.md`
|
||
- model → `Doc/ResDesc_Model.md`
|
||
- animation → `Doc/ResDesc_Animation.md`
|
||
- picture → `Doc/ResDesc_Picture.md`
|
||
- sound → `Doc/ResDesc_Sound.md`
|
||
- effect → `Doc/ResDesc_Effect.md`
|
||
|
||
2. **3D 游戏网格**:导出 FBX 为 Y-up、原点在底面中点、**局部 -Z 为正面**。摆场景时让 -Z 朝向目标,不要用 Unity 默认 +Z forward。详见 `GameResProductProc.md` 附录 B。
|
||
|
||
3. **UI 自动生成(必须)**:业务面板使用 JSON→Prefab 管线,不要用运行时临时代码拼业务 UI 替代 Prefab。
|
||
- 总览:`Doc/UI_AutoGen_Overview.md`
|
||
- 提示词契约:`Doc/Rule/UIGenerationPrompt.md`
|
||
- 规则详解:`Doc/Rule/UIGenerationRules.md`
|
||
- 工程约定:`Doc/Rule/UnityUIProject.md`
|
||
- JSON:`Doc/UIPrefabCreater/{UIName}.json`
|
||
- Prefab:`Assets/Bundles/UI/Prefab/{UIName}.prefab`
|
||
- 通用贴图:`Assets/Bundles/UI/Texture/Common/`
|
||
- 设计分辨率:竖屏 **`[1080, 1920]`**(不要用参考项目的 2048×1024)
|
||
- Unity 菜单:`Tools/UI/...`;转换器:`AIClient/Assets/Editor/UI/`
|