Menuing and stuff also sound or smtg but not joever

This commit is contained in:
Kirabsol 2025-01-14 13:11:45 +01:00
parent 33467f6cc4
commit b3a87fb2a6
14 changed files with 6294 additions and 26 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()
{
SceneManager.LoadSceneAsync("Start Scene");
}
public void LaunchSettings()
{
this.gameObject.SetActive(false);
GameObject.Find("Options").SetActive(true);
}
public void QuitGame()
{
Application.Quit();
}
}