feature: Close game
This commit is contained in:
parent
77ae46c7cd
commit
56e51065cd
3 changed files with 163 additions and 1 deletions
5
Assets/Scripts/GameClose.cs
Normal file
5
Assets/Scripts/GameClose.cs
Normal file
|
@ -0,0 +1,5 @@
|
|||
using UnityEngine;
|
||||
|
||||
public class GameClose : MonoBehaviour {
|
||||
public void Close() => Application.Quit();
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue