Advertisement
Guest User

Untitled

a guest
Jul 1st, 2015
183
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.12 KB | None | 0 0
  1. public Collider a;
  2. public Text text;
  3.  
  4. void update(){
  5.  
  6. if(a.collision.tag == "object")
  7.  
  8. text.text = "Trigger works";
  9.  
  10. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement