Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSHARP

unity reset scene



if (Input.GetKeyDown(KeyCode.R))  
    SceneManager.LoadScene( SceneManager.GetActiveScene().buildIndex ) ;


Source by devarama.com #
 
PREVIOUS NEXT
Tagged: #unity #reset #scene
ADD COMMENT
Topic
Name
4+6 =