Menuing and stuff also sound or smtg but not joever
This commit is contained in:
parent
33467f6cc4
commit
b3a87fb2a6
14 changed files with 6294 additions and 26 deletions
34
Assets/Scripts/Buttons.cs
Normal file
34
Assets/Scripts/Buttons.cs
Normal 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();
|
||||
}
|
||||
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue