Add Unity Pipeline package support

This commit is contained in:
ud18010
2026-07-31 17:34:04 +08:00
parent d1a526094e
commit 786b7ffff9
590 changed files with 51995 additions and 2 deletions
@@ -0,0 +1,32 @@
# Navigation & selection commands
Commands to read and drive the Editor selection, and to run Unity Search queries. All commands are read-only or non-destructive and run on the main thread.
### `get_selection`
Read the current Editor selection as structured object identities.
No parameters.
**Returns:** `SelectionResult`
### `set_selection`
Set the Editor selection to the given assets/scene objects.
| Parameter | Required | Default | Description |
|-----------|----------|---------|-------------|
| `instance_ids` | no | `` | Scene/loaded object instance IDs to select. |
| `paths` | no | `` | Asset paths to select (e.g. Assets/Foo.prefab). |
**Returns:** `SelectionResult`
### `search`
Run a Unity Search query and return structured results.
| Parameter | Required | Default | Description |
|-----------|----------|---------|-------------|
| `query` | yes | `` | Unity Search query string, e.g. 't:Material', 'p: my asset', 'h: Main Camera'. |
| `limit` | no | `50` | Max results to return (capped 200). |
**Returns:** `SearchResult`
See [Creating commands](../creating-commands.md) and [Connectivity](../connectivity.md).