delete_gameobject
Delete a Unity GameObject from the scene by specifying its path, name, or instance ID for efficient scene cleanup.
Instructions
Deletes a GameObject from the scene by path, name, or instance ID
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| instanceId | No | The instance ID of the GameObject to delete | |
| objectName | No | The name of the GameObject to delete | |
| objectPath | No | The path of the GameObject to delete (e.g. "Canvas/Panel/Button") |