Skip to content

Instantly share code, notes, and snippets.

@ones0318
Last active October 23, 2018 15:59
using UnityEngine.SceneManagement;
// ...
void Update () {
if (Input.anyKeyDown){
SceneManager.LoadScene(sceneName, LoadSceneMode.Single);
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment