Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public Collider a;
- public Text text;
- void update(){
- if(a.collision.tag == "object")
- text.text = "Trigger works";
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement