Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if(other.gameObject.tag == "Player")
- {
- UI.SetActive(true);
- }else if(other.gameObject.tag != "Player")
- {
- UI.SetActive(false);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement