Skip to content
Snippets Groups Projects
MainMenu.cs 543 B
Newer Older
  • Learn to ignore specific revisions
  • 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");