Skip to main content
Glama

gameobject-destroy

Destroy GameObjects and their nested children in Unity scenes or prefabs. Use this tool to remove objects from your project after identifying them with the find tool.

Instructions

Destroy GameObject and all nested GameObjects recursively in opened Prefab or in a Scene. Use 'gameobject-find' tool to find the target GameObject first.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
gameObjectRefYesSchema: {"name":"string"} or {"instanceID":int} or {"path":"hierarchy/path"}

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/butterlatte-zhang/unity-ai-bridge'

If you have feedback or need assistance with the MCP directory API, please join our Discord server