Assets/Scripts/MainMenuController.cs (
6
lines of code) (
raw
):
using UnityEngine; using UnityEngine.SceneManagement; public class MainMenuController : MonoBehaviour { public void StartGame() => SceneManager.LoadScene("Game"); }