Skip to content
Kitbay

generate-editor-search-query

LicenseRef-Unity-Companion-LicenseUpdated on Nov 6, 20261,239GitHub stars

A Unity skill that turns a request to find things inside a Unity project into a Unity Search query and opens the Search window with it.

What the skill teaches

A Unity skill that turns a request to find things inside a Unity project into a Unity Search query and opens the Search window with it. It covers assets, scene GameObjects, components and references, follows rules and reference patterns for building valid queries, and runs the C# that opens the window in the Editor through the Unity CLI's script eval command. It returns the query along with what it searches and checks the result against a validation list. It is for searching inside the Editor, not for finding files on disk.

Capabilities

  • Write Unity Search queries for assets and GameObjects
  • Find components and references in a project
  • Open the Unity Search window with a query