Hi Guys,
I am trying to write a script where when i press enter i go to the next scene, but i cant seem to get it to work.
using UnityEngine;
using System.Collections;
public class MenuToLevel : MonoBehaviour {
void Start ()
{
}
// Update is called once per frame
void Update ()
{
}
if(Input.anyKeyDown)
{
Application.LoadLevel("1");
}
}
Thank You