17 lines
368 B
C#
17 lines
368 B
C#
using UnityEngine;
|
|
using UnityEngine.SceneManagement;
|
|
|
|
public class titleButtonsControl : MonoBehaviour
|
|
{
|
|
public void startButtonClick()
|
|
{
|
|
GetComponent<AudioSource>().Play();
|
|
SceneManager.LoadScene("introCutscene");
|
|
}
|
|
|
|
public void exitButtonClick()
|
|
{
|
|
GetComponent<AudioSource>().Play();
|
|
Application.Quit(0);
|
|
}
|
|
}
|