scene-get-data

Retrieve root GameObjects from a Unity scene with configurable hierarchy depth.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This tool retrieves the list of root GameObjects in the specified scene. Use 'scene-list-opened' tool to get the list of all opened scenes.

Core Features & Use Cases

  • Retrieve root GameObjects from a specified Unity scene for inspection and debugging.
  • Optional: leverage opened scenes list to locate the target scene and validate hierarchy.
  • Use case: quickly enumerate top-level objects to verify scene structure before scripting interactions.

Quick Start

Provide the scene name to retrieve its root GameObjects.

Frequently Asked Questions about scene-get-data

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

FAQPage Schema
How do I list root GameObjects in a Unity scene?

If the scene name is empty, the active scene is used to retrieve root GameObjects. You can also control hierarchy depth and include bounds and component data in the output.

Can I get component data and bounds when inspecting Unity scene root objects?

This allows you to verify scene structure and inspect specific components attached to the root objects during your debugging process.

How do I find the name of an opened Unity scene to inspect its hierarchy?

This validates the scene hierarchy and ensures you are inspecting the correct scene before scripting interactions.

Does this Unity scene inspection tool work without specifying a scene name?

If a specific opened scene name is provided, it retrieves the root objects from that scene instead.

What is the best way to verify top-level objects in a Unity scene before scripting?

This allows you to quickly validate the scene structure and ensure the expected objects are present before writing interaction scripts.