Tag: unity-editor
Unity C# Script Creation and Update Tool
This tool enables the creation or modification of C# script files within a Unity project, automatically triggering an asset database refresh. It also provides detailed compilation error information if syntax errors are encountered.
Capture Unity Editor Game View Screenshots
Captures a screenshot from the Unity Editor Game View by reading the render texture directly via the Unity Editor API. The output image matches the current Game View resolution for visual inspection.
Set Active Unity Scene
Sets a specified opened scene as the active scene within a Unity project using a UnityEngine.Object asset reference.
List Opened Unity Editor Scenes
Retrieves a list of all currently opened scenes within the Unity Editor, providing metadata such as scene paths, build indices, and loading status.
Add Components to Unity GameObjects
Appends specified components to a target GameObject in an active Unity scene or opened prefab. Requires full component namespace paths and a valid GameObject reference.
Unity Editor Selection Setter
Sets the current selection in the Unity Editor to a specified list of objects using their instance IDs. This enables programmatic control over active objects, components, and assets within the Unity environment.
Retrieve Unity Editor Selection Details
Retrieves detailed information about the current selection in the Unity Editor, including GameObjects, transforms, and asset GUIDs. It supports granular retrieval of instance IDs and active object states.
Clear Unity Editor and MCP Logs
Clears the Unity Editor Console window and the MCP log cache to facilitate error isolation. This is useful for debugging specific actions by ensuring a clean log state before execution.
Save Unity Prefabs in Editor
Saves a prefab within the Unity Editor when in prefab editing mode. This tool requires the prefab to be opened first using the assets-prefab-open tool.
Search Unity Built-in Assets
Search for built-in Unity Editor assets within the unity_builtin_extra resources using name or type filters. The tool returns asset references including instance IDs and paths.
Unity Editor Remote Control Bridge
Provides a file-based IPC mechanism to remotely control the Unity Editor through a collection of 65 tools. It enables programmatic manipulation of scenes, game objects, assets, and scripts, as well as performance profiling and package manag…