Guest User

Untitled

a guest
Nov 19th, 2017
68
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.18 KB | None | 0 0
  1. ...
  2. using UnityEngine.SceneManagement;
  3.  
  4. class ...{
  5.  
  6. void Update(){
  7.  
  8. if(Input.GetKeyDown(KeyCode.Space)){
  9.  
  10. SceneManager.LoadScene (0);
  11.  
  12. }
  13. }
  14. }
Add Comment
Please, Sign In to add comment