using UnityEngine; using System.Collections; public class SwitchLevel : MonoBehaviour { public string LevelName; // Use this for initialization void Start () { Application.LoadLevel (LevelName); } // Update is called once per frame void Update () { } }