diff options
| author | Andrew Lee <alee14498@protonmail.com> | 2020-04-20 19:09:33 -0400 |
|---|---|---|
| committer | Andrew Lee <alee14498@protonmail.com> | 2020-04-20 19:09:33 -0400 |
| commit | 7c1e566113d59699af1624186c64eca67f063fc6 (patch) | |
| tree | 5a6850a695986872d5d0b09d7dab8421628fe33e /Assets/Scripts | |
| parent | dd117b77aae1d8be7563b360d05b842a73b7dab2 (diff) | |
| download | Project-Sandbox-7c1e566113d59699af1624186c64eca67f063fc6.tar.gz Project-Sandbox-7c1e566113d59699af1624186c64eca67f063fc6.tar.bz2 Project-Sandbox-7c1e566113d59699af1624186c64eca67f063fc6.zip | |
Upgraded Unity
Diffstat (limited to 'Assets/Scripts')
| -rw-r--r-- | Assets/Scripts/Exit.cs | 14 | ||||
| -rw-r--r-- | Assets/Scripts/Exit.cs.meta | 11 | ||||
| -rw-r--r-- | Assets/Scripts/Quit.cs | 2 |
3 files changed, 1 insertions, 26 deletions
diff --git a/Assets/Scripts/Exit.cs b/Assets/Scripts/Exit.cs deleted file mode 100644 index ea092b0..0000000 --- a/Assets/Scripts/Exit.cs +++ /dev/null @@ -1,14 +0,0 @@ -using UnityEngine;
-
-public class Exit : MonoBehaviour
-{
- // Update is called once per frame
- void Update()
- {
- if (Input.GetKey("escape"))
- {
- Application.Quit();
- }
-
- }
-}
diff --git a/Assets/Scripts/Exit.cs.meta b/Assets/Scripts/Exit.cs.meta deleted file mode 100644 index 87fc2df..0000000 --- a/Assets/Scripts/Exit.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 3aa4285199d3f6f3a88d2b5993d8adfd -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/Quit.cs b/Assets/Scripts/Quit.cs index ea092b0..d53343e 100644 --- a/Assets/Scripts/Quit.cs +++ b/Assets/Scripts/Quit.cs @@ -1,6 +1,6 @@ using UnityEngine;
-public class Exit : MonoBehaviour
+public class Quit : MonoBehaviour
{
// Update is called once per frame
void Update()
|
