gimm-sunrise-project/Assets/Scripts/menuButtons.cs

32 lines
565 B
C#

using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.SceneManagement;
public class menuButtons : MonoBehaviour
{
// Start is called before the first frame update
void Start()
{
}
// Update is called once per frame
void Update()
{
}
public void startStuff()
{
Debug.Log("Start Things!");
SceneManager.LoadScene("sunriseSunsetScene");
}
public void exitGame()
{
Debug.Log("Goodbye!");
Application.Quit(0);
}
}