What problem does it solve?
Enables rapid discovery, organization, and wiring of Unity scene objects so designers and engineers can avoid manual searching, repetitive placement, and error-prone reference assignment during level setup.
Core Features & Use Cases
- SQL-like Scene Queries: Find objects by component type and property conditions (==, !=, >, <, contains) to locate lights, cameras, or custom components quickly.
- Automated Layouts: Arrange selected objects in Linear, Grid, Circle, or Arc patterns with spacing, columns, and look-at-center options to speed level composition.
- Spatial Searches & Alignment: Perform sphere/box spatial queries, snap objects to a grid, align objects to ground using raycasts, evenly distribute between endpoints, and randomize transforms for organic placement.
- Reference Auto-Binding & Replacement: Auto-fill List/Array serialized fields on target components by tag or name filters, and replace selected objects with prefabs while preserving transforms.
- Use Case: Select spawn placeholders, use a spatial or property query to collect them, auto-bind the collection to GameManager.spawns, arrange them into a formation, and replace placeholders with final prefabs.
Quick Start
Call smart_scene_query to find all objects with component Light intensity > 2, then arrange the results in a circle with spacing 5 using smart_scene_layout.