26 lines
514 B
C#
26 lines
514 B
C#
using UnityEngine;
|
|
using UnityEngine.SceneManagement;
|
|
|
|
public class HauptmenuSteuerung : 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 StarteKrippenspiel(string titel){
|
|
string name = titel + "_1";
|
|
SceneManager.LoadScene(name);
|
|
}
|
|
|
|
public void Ende(){
|
|
Application.Quit();
|
|
}
|
|
}
|