Global Game Jam 2022
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

12 lines
266 B

2 years ago
  1. using System.Collections;
  2. using System.Collections.Generic;
  3. using UnityEngine;
  4. using UnityEngine.SceneManagement;
  5. public class MenuController : MonoBehaviour
  6. {
  7. public void LoadLevel(string value)
  8. {
  9. SceneManager.LoadScene(value);
  10. }
  11. }