set_property
Modify component properties in Unity Edit Mode, with bulk-set by type and dry-run to preview changes before applying.
Instructions
Set component property (Edit Mode, SerializedObject — for Play Mode use invoke_method or execute_code).
find_type: component type — bulk-sets prop on all matching objects without specifying paths.
For GO rename use rename_object(). ObjectReference: scene path (/Player), asset path (Assets/X.mat), sub-asset (Assets/X.fbx::ClipName), #instanceID, or 'null'. dry_run=True shows what would change without applying.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | ||
| prop | No | ||
| value | No | ||
| dry_run | No | ||
| component | No | ||
| find_type | No |