void OnCollisionEnter2D(Collision2D collision) //Make sure to put this out of Voids { if (other.gameObject.tag == "Object") { Debug.Log ("Collided"); } }
OnCollisionEnter2D(Collision2D Collider)