Advertisement
Guest User

Untitled

a guest
Jul 24th, 2019
83
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.16 KB | None | 0 0
  1. void Update()
  2. {
  3. if(Input.GetKeyDown(KeyCode.A)
  4. {
  5. GameObject go = GameObject.Find("Cloner");
  6. Destroy(go);
  7. SceneManager.LoadScene("Home");
  8. }
  9. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement