AgentSkillsCN

uloop-focus-window

通过 uloop CLI 将 Unity 编辑器窗口置顶。适用于以下场景:(1)在截屏前聚焦 Unity 编辑器;(2)确保 Unity 窗口可见以便视觉检查;(3)为用户交互将 Unity 置于前台。

SKILL.md
--- frontmatter
name: uloop-focus-window
description: Bring Unity Editor window to front via uloop CLI. Use when you need to: (1) Focus Unity Editor before capturing screenshots, (2) Ensure Unity window is visible for visual checks, (3) Bring Unity to foreground for user interaction.

uloop focus-window

Bring Unity Editor window to front.

Usage

bash
uloop focus-window

Parameters

None.

Examples

bash
# Focus Unity Editor
uloop focus-window

Output

Returns JSON confirming the window was focused.

Notes

  • Useful before uloop capture-unity-window to ensure the target window is visible
  • Brings the main Unity Editor window to the foreground