unity-smart

Query Unity scene objects by component properties and arrange them in layouts.

1|Updated Feb 22, 2024
One-click install
npx skills add https://github.com/Stardust-liu/EDC_Framework --skill unity-smart-stardust-liu
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: unity-smart
Source: https://github.com/Stardust-liu/EDC_Framework/tree/main/Assets/AI/Unity-Skills-1.5.5/unity-skills/skills/smart
Command: npx skills add https://github.com/Stardust-liu/EDC_Framework --skill unity-smart-stardust-liu

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Unity developers often struggle to locate scene objects, align them automatically, and bind serialized references across complex scenes, wasting time on repetitive tasks.

Core Features & Use Cases

  • Smart scene query: SQL-like filtering of objects by component properties.
  • Smart scene layout: arrange selected objects in Grid, Circle, or Linear layouts.
  • Smart reference bind: auto-fill arrays/Lists with matching objects.

Quick Start

Call the smart_scene_query to find objects with a given component property, then use smart_scene_layout to arrange the results in a grid or circle, and optionally apply smart_reference_bind to wire associated fields.

Frequently Asked Questions about unity-smart

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

FAQPage Schema
How do I query Unity scene objects by component properties?

You can query Unity scene objects by component properties using SQL-like filtering to locate GameObjects matching specific values. This smart scene query mechanism allows developers to find target objects in complex scenes without manual searching.

Can I automatically arrange selected GameObjects in a grid or circle layout?

Yes, you can automatically arrange selected GameObjects in grid, circle, or linear layouts. This smart scene layout feature positions objects systematically, saving time on manual alignment during level design and scene setup.

What is the best way to auto-bind serialized references in Unity arrays?

The best way to auto-bind serialized references in Unity arrays is using smart reference binding. It automatically fills arrays or Lists with matching objects found via scene queries, eliminating repetitive manual assignments.

How do I use script-driven interfaces to set up Unity level design?

Use script-driven call_skill interfaces to set up Unity level design by chaining smart scene queries, automatic layouts, and auto-binding. This workflow locates objects by property, arranges them, and wires associated fields programmatically.

Does this Unity layout tool work for debugging complex scenes?

Yes, this Unity layout tool works for debugging complex scenes. Developers can use component-based queries to quickly locate objects by property, inspect their arrangements, and validate serialized references during debugging.