nikcio

Box_hit

Sep 24th, 2016
80
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. function OnCollisionEnter(collision: Collision) {
  2.  
  3. if(collision.transform.tag == "Your_Box"){
  4. Debug.Log("The Box is hit");
  5. }
  6.  
  7. }
RAW Paste Data