gameobject-find
Locate GameObjects in Unity scenes or prefabs by name, ID, or path to retrieve their properties, components, and hierarchy structure for editing.
Instructions
Finds specific GameObject by provided information in opened Prefab or in a Scene. First it looks for the opened Prefab, if any Prefab is opened it looks only there ignoring a scene. If no opened Prefab it looks into current active scene. Returns GameObject information and its children. Also, it returns Components preview just for the target GameObject.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| gameObjectRef | Yes | GameObject reference. SCHEMA: {"name":"Main Camera"} or {"instanceID":12345} or {"path":"Canvas/Panel/Button"} | |
| includeData | No | Include editable GameObject data (tag, layer, etc). | false |
| includeComponents | No | Include attached components references. | false |
| includeBounds | No | Include 3D bounds of the GameObject. | false |
| includeHierarchy | No | Include hierarchy metadata. | false |
| hierarchyDepth | No | Determines the depth of the hierarchy to include. 0 - means only the target GameObject. 1 - means to include one layer below. | 0 |