Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- void Update()
- {
- if(Input.GetKeyDown(KeyCode.A)
- {
- GameObject go = GameObject.Find("Cloner");
- Destroy(go);
- SceneManager.LoadScene("Home");
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement