assets-modify
Modify Unity project assets by applying property and field changes to files in the Assets/ folder, enabling remote asset editing through the Unity AI Bridge.
Instructions
Modify asset file in the project. Use 'assets-get-data' tool first to inspect the asset structure before modifying. Not allowed to modify asset file in 'Packages/' folder. Please modify it in 'Assets/' folder.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| assetRef | Yes | Asset reference. SCHEMA: {"assetPath":"Assets/path/to/asset"} or {"instanceID":12345} | |
| content | Yes | JSON string of SerializedMember diff to apply. SCHEMA: {"props":[{"name":"propertyName","value":any}],"fields":[{"name":"fieldName","value":any}]} |