Slight UI movements

This commit is contained in:
Iazubi
2024-10-25 16:24:17 -07:00
parent 33120cb9aa
commit 1c43a1cb20
7 changed files with 24 additions and 6 deletions

View File

@@ -0,0 +1,16 @@
using UnityEngine;
public class GameQuitter : MonoBehaviour
{
// Method to quit the game
public void QuitGame()
{
// Closes the application
Application.Quit();
// For the editor (testing purposes), stops play mode
#if UNITY_EDITOR
UnityEditor.EditorApplication.isPlaying = false;
#endif
}
}

View File

@@ -0,0 +1,2 @@
fileFormatVersion: 2
guid: 8aa67d308b16cc444b3c95f90d78d521

Binary file not shown.

Before

Width:  |  Height:  |  Size: 356 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 389 KiB

View File

@@ -1,10 +1,10 @@
fileFormatVersion: 2 fileFormatVersion: 2
guid: cf0799e8f13416440b8c8ada93e3c61b guid: fdc7a928c4e2b9f43832ccbb302d53d1
TextureImporter: TextureImporter:
internalIDToNameTable: internalIDToNameTable:
- first: - first:
213: 7853139185308270890 213: -8009826392110483304
second: RatStabber_0 second: TeoSword_0
externalObjects: {} externalObjects: {}
serializedVersion: 13 serializedVersion: 13
mipmaps: mipmaps:
@@ -126,7 +126,7 @@ TextureImporter:
serializedVersion: 2 serializedVersion: 2
sprites: sprites:
- serializedVersion: 2 - serializedVersion: 2
name: RatStabber_0 name: TeoSword_0
rect: rect:
serializedVersion: 2 serializedVersion: 2
x: 0 x: 0
@@ -141,8 +141,8 @@ TextureImporter:
physicsShape: [] physicsShape: []
tessellationDetail: -1 tessellationDetail: -1
bones: [] bones: []
spriteID: a2100083b74fbfc60800000000000000 spriteID: 898b4b1955167d090800000000000000
internalID: 7853139185308270890 internalID: -8009826392110483304
vertices: [] vertices: []
indices: indices:
edges: [] edges: []