Newer
Older
using UnityEngine;
using System.Collections;
using UnityEngine.SceneManagement;
public class MainMenu : MonoBehaviour {
// Use this for initialization
void Start () {
}
// Update is called once per frame
void Update () {
}
public void OnClickPlay() {
// from main menu 'Play Game' -> character creation screen
SceneManager.LoadScene("CharacterCreator");
}
public void OnClickDone() {
// from character creation -> first scene of the game
SceneManager.LoadScene("Town01");