2025-04-29 14:48:00 +09:00
|
|
|
using UnityEngine;
|
|
|
|
|
|
|
|
|
|
namespace XED.Command
|
|
|
|
|
{
|
|
|
|
|
public class ExitProgramCommand : IIrreversibleCommand
|
|
|
|
|
{
|
|
|
|
|
public ExitProgramCommand()
|
|
|
|
|
{
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public string id { get => throw new System.NotImplementedException(); set => throw new System.NotImplementedException(); }
|
|
|
|
|
|
|
|
|
|
public bool CanExecute()
|
|
|
|
|
{
|
|
|
|
|
throw new System.NotImplementedException();
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public void Execute()
|
|
|
|
|
{
|
2025-04-29 15:29:20 +09:00
|
|
|
Debug.Log("Exit");
|
2025-04-29 14:48:00 +09:00
|
|
|
Application.Quit();
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|