Advertisement
juliosantanna75

Untitled

Jun 22nd, 2015
257
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.33 KB | None | 0 0
  1. #pragma strict
  2.  
  3. var event1 : GameObject;
  4. var event2 : GameObject;
  5. var arqueiro : GameObject;
  6.  
  7. function Start () {
  8.  
  9. DontDestroyOnLoad(gameObject);
  10.  
  11. }
  12.  
  13.  
  14.  
  15. function Update () {
  16.  
  17.  
  18. if(Application.loadedLevel == ("Fase-1-5")){
  19. arqueiro.SetActive(false);
  20. event1.SetActive(false);
  21. event2.SetActive(false);
  22.  
  23. }
  24. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement