首页/ AI 技能 / @skilllib/skill-2014279412336766977
Skill站外收录 @skilllib/skill-2014279412336766977

uloop-find-game-objects

在 Unity 项目中精准定位游戏对象,支持按名称模式、标签、图层或挂载的组件类型进行灵活检索,可配置匹配方式与结果数量,并返回包含路径和组件信息的结构化数据。

0.0 (0) 172 次安装 原作者 编程导航
收录于 2026-01-22
软件开发 AI 技能

Skills.MD

# uloop find-game-objects Find GameObjects with search criteria. ## Usage ```bash uloop find-game-objects [options] ``` ## Parameters | Parameter | Type | Default | Description | |-----------|------|---------|-------------| | `--name-pattern` | string | - | Name pattern to search | | `--search-mode` | string | `Contains` | Search mode: `Exact`, `Path`, `Regex`, `Contains` | | `--required-components` | array | - | Required components | | `--tag` | string | - | Tag filter | | `--layer` | string | - | Layer filter | | `--max-results` | integer | `20` | Maximum number of results | | `--include-inactive` | boolean | `false` | Include inactive GameObjects | ## Examples ```bash # Find by name uloop find-game-objects --name-pattern "Player" # Find with component uloop find-game-objects --required-components Rigidbody # Find by tag uloop find-game-objects --tag "Enemy" # Regex search uloop find-game-objects --name-pattern "UI_.*" --search-mode Regex ``` ## Output Returns JSON array of matching GameObjects with paths and components.

评论 0

还没有评论,来抢沙发。