Join our Discord Channel
using UnityEngine;namespace HutongGames.PlayMaker.Actions{ [ActionCategory("Application")] [Tooltip("Quits the player application.")] public class ApplicationQuit : FsmStateAction { public override void Reset() { } public override void OnEnter() { Application.Quit(); Finish(); } }}
Assets/PlayMaker/Actions/ApplicationQuit.cs(13,25): error CS0103: The name `Application' does not exist in the current context
Did you copy/paste, or download the cs file. Make sure you have using UnityEngine; at the top.Also there are some usage notes here:http://unity3d.com/support/documentation/ScriptReference/Application.Quit.html