gameobject-destroy
Destroy any GameObject and its nested children in an open Prefab or Scene. Target using name, instance ID, or hierarchy path after locating 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
| Name | Required | Description | Default |
|---|---|---|---|
| gameObjectRef | Yes | Schema: {"name":"string"} or {"instanceID":int} or {"path":"hierarchy/path"} |