Files
AIGame/.cursor/rules/aigame-basics.mdc
T
udxandCursor 9793d8581d Add TownSquare scene assets, resource production docs, and model pipeline updates.
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>
2026-09-28 14:28:46 +08:00

30 lines
1.4 KiB
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
---
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/`