When Object Collide Load Level?

Hello.

I have an object in my unity game, and I was wondering how id go about making it so when the First Person camera touches it (collides) then it loads another level.

All help is appreciated, thanks.

You can detect incoming collisions on an object using the OnCollisionEnter function:-

function OnCollisionEnter(coll: Collision) {
  Application.LoadLevel(newLevel);
}