Apply Prefab Overrides
unity_apply_prefabApply a prefab instance's overrides back to its source prefab, affecting all instances upon save. Provide the instance's hierarchy path; fails if not a prefab instance.
Instructions
Apply an instance's overrides back to its prefab source (Undo-able, but affects all instances once saved).
Args: object_path of the instance ('Level/Enemy_1'). Fails with hint if the object is not a prefab instance.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| object_path | Yes | Hierarchy path of the prefab instance, e.g. 'Level/Enemy_1' |