Global Game Jam 2023
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.

19 lines
346 B

  1. using System.Collections;
  2. using System.Collections.Generic;
  3. using UnityEngine;
  4. using UnityEngine.SceneManagement;
  5. public class MainMenuControls : MonoBehaviour
  6. {
  7. public string gameScene;
  8. public void StartGame()
  9. {
  10. SceneManager.LoadScene(gameScene);
  11. }
  12. public void QuitGame()
  13. {
  14. Application.Quit();
  15. }
  16. }