Some checks failed
Gitea Actions Demo / Explore-Gitea-Actions (push) Has been cancelled
- Добавлен компонент подмены спрайтов игрока перед началом игры. - Обновлены сцена уровня, префабы, шейдеры, настройки импорта и данные призов. - Зафиксирован embedded-пакет Unity MCP 9.6.8 и обновлены связанные файлы проекта.
19 lines
697 B
C#
19 lines
697 B
C#
namespace MCPForUnity.Editor.Services.Server
|
|
{
|
|
/// <summary>
|
|
/// Interface for platform-specific process termination.
|
|
/// Provides methods to terminate processes gracefully or forcefully.
|
|
/// </summary>
|
|
public interface IProcessTerminator
|
|
{
|
|
/// <summary>
|
|
/// Terminates a process using platform-appropriate methods.
|
|
/// On Unix: Tries SIGTERM first with grace period, then SIGKILL.
|
|
/// On Windows: Tries taskkill, then taskkill /F.
|
|
/// </summary>
|
|
/// <param name="pid">The process ID to terminate</param>
|
|
/// <returns>True if the process was terminated successfully</returns>
|
|
bool Terminate(int pid);
|
|
}
|
|
}
|