unity_ui_generate
Generate a Unity uGUI prefab from a JSON spec using the live editor bridge or batch mode.
Instructions
Generate a project-owned Unity uGUI prefab through the live editor bridge when Unity is open, or batch mode when it is closed. Refuses generate-blocking validation warnings, Unity compile errors, unverified backing classes, and failed post-generation verification/layout gates unless explicitly overridden where supported.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| force | No | ||
| specPath | Yes | Project-local JSON path or recipe:<name>. | |
| bridgeUrl | No | ||
| editorPath | No | ||
| projectPath | Yes | Unity project root. | |
| allowWarnings | No | ||
| backingClassPath | No | Project-local path to the generated C# backing class. Required when the recipe declares backing_class. | |
| allowGenerationIssues | No | ||
| allowNonstandardClassPath | No | Allow generated backing C# outside Assets/AGS/Scripts. Use only for an intentional project convention. |