Eriknem

Untitled

Oct 23rd, 2016
209
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. void OnTriggerEnter(Collider other)
  2.     {
  3.         if (other.gameObject.CompareTag ("Pick Up"))
  4.         {
  5.             other.gameObject.SetActive (false);
  6.         }
  7.     }
RAW Paste Data