[Add] Unity MCP

This commit is contained in:
2026-03-29 01:25:56 +07:00
parent cfe04c18a1
commit 1cff234df1
455 changed files with 50327 additions and 0 deletions
@@ -0,0 +1,29 @@
using System;
namespace MCPForUnity.Editor.Services
{
public interface IPackageDeploymentService
{
string GetStoredSourcePath();
void SetStoredSourcePath(string path);
void ClearStoredSourcePath();
string GetTargetPath();
string GetTargetDisplayPath();
string GetLastBackupPath();
bool HasBackup();
PackageDeploymentResult DeployFromStoredSource();
PackageDeploymentResult RestoreLastBackup();
}
public class PackageDeploymentResult
{
public bool Success { get; set; }
public string Message { get; set; }
public string SourcePath { get; set; }
public string TargetPath { get; set; }
public string BackupPath { get; set; }
}
}