#if HAVE_NODECANVAS using System; using UnityEngine; using ParadoxNotion.Design; using NodeCanvas.Framework; namespace Framework.State { /// Exits the game [Category("Utility")] [Description("Exits the game")] public class QuitGameTask : ActionTask { /// Summary of what this action does protected override string info { get { return "Quit"; } } /// Called once when the action is executed protected override void OnExecute() { Application.Quit(); EndAction(); } } } // namespace Framework.State #endif // HAVE_NODECANVAS