set_resource_properties
Set and save properties of a .tres or .res resource atomically while preserving its UID and script. Use dryRun to preview changes or expectedHash to verify before applying.
Instructions
Set stored properties of a .tres/.res resource and save atomically, preserving its UID and script. Supports dryRun and expectedHash. Executes setters.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dryRun | No | ||
| properties | Yes | ||
| projectPath | Yes | ||
| expectedHash | No | ||
| resourcePath | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| saved | Yes | ||
| className | Yes | ||
| truncated | No | ||
| properties | No | ||
| sourceHash | Yes | ||
| resourcePath | Yes |