Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using UnityEngine;
- using UnityEngine.SceneManagement;
- namespace QuickStart
- {
- public class Menu : MonoBehaviour
- {
- public void LoadScene(string levelName)
- {
- SceneManager.LoadScene(levelName);
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement