Tag: unity
Split C# files for Unity version compatibility
Splits C# source files into separate variants for Unity 6.5+ and older versions using preprocessor guards. It manages API changes such as the transition from int to EntityId to ensure cross-version compatibility.
Generate Unity Skills from Existing Tools
Automates the generation of all skills from existing tools within a Unity project, with an optional parameter to specify the target skills folder path.
Create New Unity MCP Skills
Generates new C# skill files within a Unity project by writing provided code to a specified path. The newly created files are automatically compiled by Unity for immediate use within the MCP ecosystem.
Unity MCP Project Initial Setup
A command-line interface for installing the Unity-MCP plugin, configuring MCP tools, and generating AI skills for agents such as Claude Code or Cursor.
Generate JSON Schema from C# Types
Generates a JSON Schema for a specified C# type name using reflection. It supports primitives, enums, generic collections, and complex objects present in loaded assemblies.
MCP Tool State Management
This tool enables or disables specific MCP tools by name, allowing for precise control over the available toolset for an AI agent. It optionally returns operation logs to verify the success of each state change.
List Available MCP Tools
Retrieves a list of available MCP tools, supporting regex-based filtering and optional inclusion of tool descriptions and input schemas.
Unity Test Execution and Monitoring Tool
Execute Unity tests in Edit or Play mode and retrieve detailed results, including summaries, test statuses, and captured logs. It supports granular filtering by assembly, namespace, class, and method.
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.
Read Unity Script File Content
Retrieves the content of a Unity script file, allowing for specific line ranges to be specified. The result is returned as a string.
Dynamic C# Script Execution for Unity
Dynamically compiles and executes C# code within Unity using Roslyn. It supports both full class definitions and simplified method body injection, allowing Unity object references to be passed as parameters.
Delete Unity Script Files
Deletes specified script files within a Unity project and triggers an asset database refresh. The operation waits for Unity compilation to complete before reporting results.
Capture Unity Editor Scene View Screenshots
Captures a screenshot from the Unity Editor Scene View at a specified resolution and returns the image directly for visual inspection.
Isolated Unity GameObject Screenshot Tool
Renders high-resolution screenshots of specific Unity GameObjects with configurable camera angles, lighting, and background modes. Supports object isolation via layer-based culling and returns the result as a base64-encoded PNG.
Unity Camera Screenshot Tool
Captures a screenshot from a specified Unity camera and returns the image directly. It supports custom dimensions and targeting specific GameObjects via hierarchy paths or instance IDs.
Unload Unity Editor Scenes
Unloads a specified scene from the currently opened scenes in the Unity Editor. It requires the scene name as input and returns a reference to the unloaded scene asset.
Set Active Unity Scene
Sets a specified opened scene as the active scene within a Unity project using a UnityEngine.Object asset reference.
Save Opened Unity Scenes to Assets
Saves an opened Unity scene to a specified asset file path. It supports targeting a specific scene name or defaulting to the currently active scene.
Open Unity Scenes via Asset Reference
This tool enables opening Unity scenes using an asset reference, supporting both single and additive loading modes. It allows for programmatic scene management within the Unity Editor.
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.
Retrieve Unity Scene GameObject Data
Retrieves detailed information about root GameObjects within a specified Unity scene, including hierarchy, bounds, and component data. Supports efficient data extraction using path-scoped reads or complex view queries via regex filtering.
Create New Unity Project Scenes
Creates new scenes within Unity project assets using specified setup and mode configurations. The tool returns detailed metadata for the newly created scene, such as its path and build index.
Find C# Methods via Reflection
Locates C# methods within a Unity project using C# Reflection. It supports searching by class name, method name, and parameters, including private members.
Invoke C# Methods via Reflection
Executes C# methods within a Unity environment using reflection, allowing for the invocation of both public and private methods. The tool supports complex parameter passing and can specify execution on the main thread.