mirror of
https://github.com/unity-atoms/unity-atoms.git
synced 2025-01-22 08:08:51 -05:00
Added QuitApplication action
This commit is contained in:
parent
0e6c5c6800
commit
7f1a44a090
15
Source/SceneManagement/QuitApplication.cs
Normal file
15
Source/SceneManagement/QuitApplication.cs
Normal file
@ -0,0 +1,15 @@
|
||||
using UnityEngine;
|
||||
|
||||
namespace UnityAtoms
|
||||
{
|
||||
[CreateAssetMenu(menuName = "Unity Atoms/Scene Management/Void Actions/Quit Application")]
|
||||
public class QuitApplication : VoidAction
|
||||
{
|
||||
public override void Do()
|
||||
{
|
||||
Application.Quit();
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
11
Source/SceneManagement/QuitApplication.cs.meta
Normal file
11
Source/SceneManagement/QuitApplication.cs.meta
Normal file
@ -0,0 +1,11 @@
|
||||
fileFormatVersion: 2
|
||||
guid: efd09b740ed5a4ae0be92b4b95bead40
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
Loading…
Reference in New Issue
Block a user