uloop-focus-window

hatayama 的头像作者 hatayama

通过uloop CLI将Unity编辑器窗口置于前台。当您需要:(1)在捕获截图前聚焦Unity编辑器,(2)确保Unity窗口对视觉检查可见,(3)将Unity置于前台供用户交互时使用。

📖 中文导读:通过uloop CLI将Unity编辑器窗口置于前台。当您需要:(1)在捕获截图前聚焦Unity编辑器,(2)确保Unity窗口对视觉检查可见,(3)将Unity置于前台供用户交互时使用。 以下正文为该技能的原始 SKILL.md 内容(英文),上方安装命令可直接使用。

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

uloop focus-window

Parameters

None.

Examples

# 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