gameobject-find

Find a GameObject in the opened Prefab or active Scene.

Updated Feb 4, 2024
One-click install
npx skills add https://github.com/sprillion/gem_td --skill gameobject-find-sprillion
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: gameobject-find
Source: https://github.com/sprillion/gem_td/tree/main/SKILLS/gameobject-find
Command: npx skills add https://github.com/sprillion/gem_td --skill gameobject-find-sprillion

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Quickly locate a target GameObject either in the currently opened Prefab or in the active Scene, reducing manual search time and errors.

Core Features & Use Cases

  • Prefab-first search: When a Prefab is opened, the search is restricted to that Prefab to speed up the lookup.
  • Fallback to Scene: If no Prefab is open, searches run in the current active Scene and return the target GameObject and its children.
  • Output detail: Returns GameObject information and a components preview for the target.

Quick Start

Locate a GameObject by its reference in the currently opened Prefab or the active Scene.

Frequently Asked Questions about gameobject-find

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I find a specific GameObject in a Unity scene?

To find a specific GameObject in a Unity scene, provide its reference information to search the active Scene, returning the target along with its children and component details.

Can I search for GameObjects inside an opened Prefab without scanning the whole scene?

Yes, searching an opened Prefab restricts the lookup scope to that Prefab only, ignoring the active Scene to speed up finding the target GameObject instantly.

What information can I include when locating a Unity GameObject?

When locating a Unity GameObject, you can include data, components, bounds, and hierarchy details, with adjustable hierarchy depth to control the returned information.

What happens if no Prefab is open when I search for a GameObject?

If no Prefab is opened, the search falls back to the active Unity Scene and returns the target GameObject information along with its children.

Does this GameObject search tool work with both Prefab and Scene environments?

Yes, this search tool works with both environments by prioritizing the opened Prefab and falling back to the active Scene to reduce manual search time and errors.