Top메뉴, Toolbar
This commit is contained in:
24
Assets/NewStudioPGD/Scripts/Command/ExitProgramCommand.cs
Normal file
24
Assets/NewStudioPGD/Scripts/Command/ExitProgramCommand.cs
Normal file
@@ -0,0 +1,24 @@
|
||||
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()
|
||||
{
|
||||
Application.Quit();
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,2 @@
|
||||
fileFormatVersion: 2
|
||||
guid: a5e265f61efc5e44f8dcaad35017208a
|
||||
Reference in New Issue
Block a user