Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #pragma strict
- var event1 : GameObject;
- var event2 : GameObject;
- var arqueiro : GameObject;
- function Start () {
- DontDestroyOnLoad(gameObject);
- }
- function Update () {
- if(Application.loadedLevel == ("Fase-1-5")){
- arqueiro.SetActive(false);
- event1.SetActive(false);
- event2.SetActive(false);
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement