Scriptum/Assets/Scripts/MenuGUI.cs

16 lines
329 B
C#
Raw Normal View History

using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.SceneManagement;
public class MenuGUI : MonoBehaviour
{
public class SettingsButton:MonoBehaviour
{
public void LoadScene(string sceneName)
{
SceneManager.LoadScene(sceneName);
}
}
}