Advertisement
Guest User

קוד

a guest
Feb 21st, 2019
68
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.34 KB | None | 0 0
  1. using System.Collections;
  2. using System.Collections.Generic;
  3. using UnityEngine;
  4. using UnityEngine.SceneManagement;
  5.  
  6. public class ChangeScenes : MonoBehaviour
  7. {
  8. public void OpenShop()
  9. {
  10. SceneManager.LoadScene("ShopScene");
  11. }
  12. public void CloseShop()
  13. {
  14. SceneManager.LoadScene("MainScene");
  15. }
  16. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement