Added QuitApplication action

This commit is contained in:
Adam Ramberg 2019-04-05 14:33:59 +02:00
parent 0e6c5c6800
commit 7f1a44a090
2 changed files with 26 additions and 0 deletions

View 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();
}
}
}

View File

@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: efd09b740ed5a4ae0be92b4b95bead40
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant: