using UnityEngine;
using UnityEngine.SceneManagement;
public class SceneSwitch : MonoBehaviour {
public void SceneSwitcher ()
{
if (Input.GetKeyDown(KeyCode.V))
{
Debug.Log("Scene2 loading: ");
Application.LoadLevel ("Scene2");
}
}
}
Nothing seem to be happening. I've watched several tutorials and read the manual and they all say the same thing but it still doesn't work.
↧