UnityProjekt/Assets/Scripts/MenuHandler.cs

18 lines
335 B
C#
Raw Permalink Normal View History

2020-12-06 22:12:51 +00:00
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.SceneManagement;
public class MenuHandler : MonoBehaviour
{
public void StartGame()
{
SceneManager.LoadScene("Main");
}
public void Achievements()
{
2020-12-06 23:13:41 +00:00
SceneManager.LoadScene("Achievements");
2020-12-06 22:12:51 +00:00
}
}