chore: organized project ui structure

This commit is contained in:
Gerard Gascón 2024-04-15 17:53:15 +02:00
parent 58ec07b1a0
commit d6c618add0
10 changed files with 8 additions and 4 deletions

View file

@ -1,20 +0,0 @@
using UnityEngine;
using UnityEngine.UI;
namespace View {
public class CloseButton : MonoBehaviour {
private Button _button;
private void Start() {
_button = GetComponent<Button>();
_button.onClick.AddListener(CloseClicked);
}
private void CloseClicked() {
#if UNITY_EDITOR
Debug.Log("Quit");
#endif
Application.Quit();
}
}
}