SLEAPY_SMURF/Assets/Scripts/Menu.cs

13 lines
232 B
C#

using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.SceneManagement;
public class Menu : MonoBehaviour
{
public void Load(int lvl)
{
SceneManager.LoadScene(lvl);
}
}