22 lines
493 B
C#
Raw Normal View History

2019-04-05 14:33:59 +02:00
using UnityEngine;
2019-10-01 17:27:22 +02:00
namespace UnityAtoms.SceneMgmt
2019-04-05 14:33:59 +02:00
{
2019-10-15 23:31:21 +02:00
/// <summary>
/// Action to quit the application.
/// </summary>
2019-10-14 16:51:54 +02:00
[EditorIcon("atom-icon-purple")]
[CreateAssetMenu(menuName = "Unity Atoms/Actions/Scene Management/Quit Application")]
2020-03-09 00:37:52 +01:00
public sealed class QuitApplication : AtomAction
2019-04-05 14:33:59 +02:00
{
2019-10-15 23:31:21 +02:00
/// <summary>
/// Do quit the apllication.
/// </summary>
2019-04-05 14:33:59 +02:00
public override void Do()
{
Application.Quit();
}
}
}