一键导入
uloop-focus-window
Bring the Unity Editor window to front. Use when Unity must be visible for visual checks or user-facing interaction.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Bring the Unity Editor window to front. Use when Unity must be visible for visual checks or user-facing interaction.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Clear Unity Console entries. Use before compile, tests, or debugging when stale logs would hide the current result.
Compile the Unity project and report errors/warnings. Use after C# edits.
Control Unity Editor Play Mode. Use to start, stop, or pause Play Mode for runtime behavior checks and frame inspection.
Execute C# with Unity APIs when existing uloop tools cannot inspect or edit enough. Use for reachable scene/component state, scene/prefab/menu automation, and PlayMode checks
Find or inspect Unity GameObjects, especially objects the user currently selected in the Hierarchy. Use for details, components, tags, layers, or name/path searches.
Get the Unity scene hierarchy as a structured tree. Use for parent-child structure, descendants, roots, or subtrees under objects the user currently selected.
| name | uloop-focus-window |
| description | Bring the Unity Editor window to front. Use when Unity must be visible for visual checks or user-facing interaction. |
Bring Unity Editor window to front using OS-level commands.
uloop focus-window
| Option | Description |
|---|---|
--project-path <path> | Optional. Use only when the target Unity project is not the current directory. |
# Focus Unity Editor
uloop focus-window
Returns JSON with:
Success: Whether the focus operation succeededMessage: Status message (e.g. Unity Editor window focused (PID: 12345), or the failure reason such as Unity project not found / No running Unity process found for this project / Failed to focus Unity window: <reason>)uloop capture-unity-window to ensure the target window is visible