unity-atoms/Packages/SceneMgmt/Runtime/Actions/QuitApplication.cs
2020-03-09 00:37:52 +01:00

22 lines
493 B
C#

using UnityEngine;
namespace UnityAtoms.SceneMgmt
{
/// <summary>
/// Action to quit the application.
/// </summary>
[EditorIcon("atom-icon-purple")]
[CreateAssetMenu(menuName = "Unity Atoms/Actions/Scene Management/Quit Application")]
public sealed class QuitApplication : AtomAction
{
/// <summary>
/// Do quit the apllication.
/// </summary>
public override void Do()
{
Application.Quit();
}
}
}