initial upload
This commit is contained in:
@ -0,0 +1,13 @@
|
||||
using UnityEngine;
|
||||
using System.Collections;
|
||||
|
||||
namespace RootMotion.Demos {
|
||||
|
||||
// Safely getting out of full screen desktop builds
|
||||
public class ApplicationQuit : MonoBehaviour {
|
||||
|
||||
void Update () {
|
||||
if (Input.GetKeyDown(KeyCode.Q) || Input.GetKeyDown(KeyCode.Escape)) Application.Quit();
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user