升级XR插件版本
This commit is contained in:
21
Packages/MCPForUnity/Editor/Models/Command.cs
Normal file
21
Packages/MCPForUnity/Editor/Models/Command.cs
Normal file
@@ -0,0 +1,21 @@
|
||||
using Newtonsoft.Json.Linq;
|
||||
|
||||
namespace MCPForUnity.Editor.Models
|
||||
{
|
||||
/// <summary>
|
||||
/// Represents a command received from the MCP client
|
||||
/// </summary>
|
||||
public class Command
|
||||
{
|
||||
/// <summary>
|
||||
/// The type of command to execute
|
||||
/// </summary>
|
||||
public string type { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// The parameters for the command
|
||||
/// </summary>
|
||||
public JObject @params { get; set; }
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user