unity_ui_verify_backing_class
Validate that SerializeField fields in a C# backing class match UI bindings from the spec, ensuring correctness before generating prefab code.
Instructions
Validate that [SerializeField] fields in a C# backing class match the cs_bindings from unity_ui_resolve. Call after writing the C# class and before unity_ui_generate.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| specPath | Yes | Path to the authored ags-ui-recipe/v1 spec JSON. | |
| classPath | Yes | Path to the C# backing class file. | |
| projectPath | Yes | Unity project root. | |
| allowNonstandardClassPath | No | Allow generated backing C# outside Assets/AGS/Scripts. Use only for an intentional project convention. |