uloop-unity-search

hatayama 的头像作者 hatayama

通过uloop CLI搜索Unity项目。当您需要:(1)按名称或类型查找资源(场景、预制件、脚本、材质),(2)使用Unity的搜索系统搜索项目资源,(3)定位Unity项目中的文件时使用。

📖 中文导读:通过uloop CLI搜索Unity项目。当您需要:(1)按名称或类型查找资源(场景、预制件、脚本、材质),(2)使用Unity的搜索系统搜索项目资源,(3)定位Unity项目中的文件时使用。 以下正文为该技能的原始 SKILL.md 内容(英文),上方安装命令可直接使用。

name: uloop-unity-search description: "Search Unity project for assets. Use when: finding scenes, prefabs, scripts, materials, or other assets by name/type, or when user asks to search project files. Returns asset paths and metadata."

uloop unity-search

Search Unity project using Unity Search.

Usage

uloop unity-search [options]

Parameters

Parameter Type Default Description
--search-query string - Search query
--providers array - Search providers (e.g., asset, scene, find)
--max-results integer 50 Maximum number of results
--save-to-file boolean false Save results to file

Examples

# Search for assets
uloop unity-search --search-query "Player"

# Search with specific provider
uloop unity-search --search-query "t:Prefab" --providers asset

# Limit results
uloop unity-search --search-query "*.cs" --max-results 20

Output

Returns JSON array of search results with paths and metadata.

Notes

Use uloop get-provider-details to discover available search providers.