Created
July 18, 2022 19:19
-
-
Save aprilspeight/683a5401a851bf0125e93429a11ae9be to your computer and use it in GitHub Desktop.
Change scene on key press.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
if (Input.GetKeyDown("r")) | |
{ | |
SceneManager.LoadScene("SceneOne"); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment