333GameStudio

Pick

Jul 19th, 2015
62
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. var pick : GameObject;
  2.  
  3.  
  4. function OnTriggerEnter (col : Collider){
  5. if(col.gameObject.tag == "Pick"){
  6.  
  7. pick.SetActive(true);
  8.  
  9. yield WaitForSeconds(0.1);
  10.  
  11.  
  12.  
  13. }
  14. }
Add Comment
Please, Sign In to add comment