scene-open

Open Unity scenes from asset files using sceneRef and loadSceneMode.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Open scenes directly from the project asset file without manual navigation, accelerating iteration.

Core Features & Use Cases

  • Direct scene loading: Open a scene reference from Unity assets with a single tool call.
  • Scene mode options: Supports Single and Additive loading modes to fit workflow needs.
  • Use Case: When preparing a new scene for testing, scan the asset registry and open the desired scene quickly.

Quick Start

Call the scene-open tool with a valid sceneRef to load the scene.

Frequently Asked Questions about scene-open

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

FAQPage Schema
How do I open a Unity scene from a project asset programmatically?

To open a Unity scene from a project asset programmatically, call the tool with a valid sceneRef. This loads the desired scene directly from the asset file without manual navigation.

Can I load multiple Unity scenes additively using this approach?

Yes, you can load multiple Unity scenes additively by specifying the optional loadSceneMode parameter as Additive. This allows loading additional scenes alongside the currently active one.

What happens if I provide an invalid scene reference?

If you provide an invalid scene reference, the tool handles the invalid reference gracefully. It prevents the scene-open process from failing silently during your automated workflow.

What's the difference between Single and Additive scene loading modes?

Single loading mode closes the current Unity scene and opens the new scene reference, while Additive mode loads the new scene on top of the existing ones. This fits different workflow needs.

Does this tool require any dependencies to open Unity scenes?

No, this tool does not require any dependencies to open Unity scenes. It directly processes the sceneRef and optional loadSceneMode parameters to load the scene asset.