Delete GameObject
unity_delete_gameobjectDeletes a Unity GameObject by hierarchy path for precise scene cleanup; undoable in the Editor, but verify the path since it is destructive once the scene is saved.
Instructions
Delete a GameObject by path (Undo-able in Editor, but file-wise destructive once scene is saved).
Provide exact path from unity_find_gameobjects. Double-check path before calling.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Hierarchy path of the GameObject, e.g. 'Player' or 'Level/Enemies/Orc' |