Skip to main content
Glama
ICommand.cs665 B
using System; using UnityEngine; namespace UnityMCP.Client.Editor.Commands { /// <summary> /// Interface for all commands that can be executed in the Unity Editor /// </summary> public interface ICommand { /// <summary> /// Execute the command and return the result /// </summary> /// <param name="context">The command context</param> /// <returns>The result of the command execution</returns> object Execute(CommandContext context); /// <summary> /// Get the variable name to store the result in, if any /// </summary> string ResultVariableName { get; } } }

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/TSavo/Unity-MCP'

If you have feedback or need assistance with the MCP directory API, please join our Discord server