AgentSkillsCN

uloop-unity-search

在Unity项目中搜索资源。适用于按名称/类型查找场景、预制体、脚本、材质等资源,或当用户要求搜索项目文件时使用。返回资源路径与元数据。

SKILL.md
--- frontmatter
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

bash
uloop unity-search [options]

Parameters

ParameterTypeDefaultDescription
--search-querystring-Search query
--providersarray-Search providers (e.g., asset, scene, find)
--max-resultsinteger50Maximum number of results
--save-to-filebooleanfalseSave results to file

Examples

bash
# 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.