using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.SceneManagement;
public class MainMenu : MonoBehaviour {
public string StartLevel;
public string Challenges;
public void NewGame()
{
SceneManager.LoadScene (StartLevel);
}
public void QuitGame()
{
Application.Quit();
}
public void ChallengesLevels()
{
SceneManager.LoadScene (Challenges);
}
}
No comments:
Post a Comment