- using System.Collections;
- using System.Collections.Generic;
- using UnityEngine;
- using UnityEngine.SceneManagement;
-
- public class MainMenuControls : MonoBehaviour
- {
- public string gameScene;
-
- public void StartGame()
- {
- SceneManager.LoadScene(gameScene);
- }
-
- public void QuitGame()
- {
- Application.Quit();
- }
- }
|