| name | uloop-find-game-objects |
| description | Find GameObjects with search criteria via uloop CLI. Use when you need to: (1) Locate GameObjects by name pattern, (2) Find objects by tag or layer, (3) Search for objects with specific component types. |
uloop find-game-objects
Find GameObjects with search criteria.
Usage
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
uloop find-game-objects --name-pattern "Player"
uloop find-game-objects --required-components Rigidbody
uloop find-game-objects --tag "Enemy"
uloop find-game-objects --name-pattern "UI_.*" --search-mode Regex
Output
Returns JSON array of matching GameObjects with paths and components.