Advertisement
Guest User

Untitled

a guest
Jul 19th, 2018
65
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.19 KB | None | 0 0
  1. if(other.gameObject.tag == "Player")
  2. {
  3. UI.SetActive(true);
  4. }else if(other.gameObject.tag != "Player")
  5. {
  6. UI.SetActive(false);
  7. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement