MenuActions.cs 332 Bytes
Newer Older
Luke Smith's avatar
Luke Smith committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
using UnityEngine;
using System.Collections;

public class MenuActions : MonoBehaviour {

	public string levelName = "player_animation_test";

	public void NewGame(){
		Application.LoadLevel (levelName); 
	}

	public void LoadGame(){
		Application.LoadLevel (levelName); 
	}

	public void QuitGame(){
		Application.Quit ();
	}
}