一键导入
uloop-clear-console
Clear Unity Console entries. Use before compile, tests, or debugging when stale logs would hide the current result.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Clear Unity Console entries. Use before compile, tests, or debugging when stale logs would hide the current result.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
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.
Bring the Unity Editor window to front. Use when Unity must be visible for visual checks or user-facing interaction.
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-clear-console |
| toolName | clear-console |
| description | Clear Unity Console entries. Use before compile, tests, or debugging when stale logs would hide the current result. |
Clear Unity console logs.
uloop clear-console [--add-confirmation-message]
| Parameter | Type | Default | Description |
|---|---|---|---|
--add-confirmation-message | flag | - | Add confirmation message after clearing |
| Option | Description |
|---|---|
--project-path <path> | Optional. Use only when the target Unity project is not the current directory. |
# Clear console
uloop clear-console
# Clear with confirmation
uloop clear-console --add-confirmation-message
Returns JSON with:
Success (boolean): Whether the clear operation succeededClearedLogCount (number): Total number of log entries that were clearedClearedCounts (object): Breakdown by log type
ErrorCount (number): Errors clearedWarningCount (number): Warnings clearedLogCount (number): Info logs clearedMessage (string): Description of the result. On failure, this field carries the error summary.