返回 Skill 列表
extension
分类: 开发与工程无需 API Key

unity-script-roles

Unity脚本角色规划器。当用户希望在批量代码生成前决定哪些计划中的脚本应该是MonoBehaviour桥梁、ScriptableObject配置、纯C#服务、展示器、状态或安装器时使用。触发词:脚本职责, 类职责, MonoBehaviour或ScriptableObject, 服务类, 展示器, 安装器。

person作者: jakexiaohubgithub

Unity Script Roles

Use this skill before creating a batch of gameplay scripts.

Goal

Turn a rough script list into explicit roles so AI does not generate everything as MonoBehaviour.

Output Format

  • Script name
  • Recommended role
  • Main responsibility
  • Main dependencies
  • Why this role fits better than the alternatives

Common Roles

  • MonoBehaviour bridge
  • ScriptableObject config/data
  • pure C# domain/service
  • presenter / controller
  • state / state machine node
  • installer / bootstrap helper

Guardrails

Mode: Both (Semi-Auto + Full-Auto) — advisory only, no REST skills

  • Do not make every class a MonoBehaviour.
  • Do not force ScriptableObject onto runtime state that should stay in memory-only objects.