This commit is contained in:
Crizomb 2025-01-29 00:59:22 +01:00
parent a17810ffeb
commit 4e91f448c9
826 changed files with 66 additions and 8 deletions

34
Assets/Scripts/Buttons.cs Normal file
View file

@ -0,0 +1,34 @@
using UnityEngine;
using UnityEngine.SceneManagement;
public class Buttons : MonoBehaviour
{
// Start is called once before the first execution of Update after the MonoBehaviour is created
void Start()
{
}
// Update is called once per frame
void Update()
{
}
public void PlayGame()
{
BasedGameManager.Instance.GoNextLevel();
}
public void LaunchSettings()
{
this.gameObject.SetActive(false);
GameObject.Find("Options").SetActive(true);
}
public void QuitGame()
{
Application.Quit();
}
}