Is there anything wrong with my Gameover Collider Script?


I have been working to find out what is wrong with this code and no one has been able to find out. Do any of you know what is wrong?
function Start () {


function Update () {


function OnCollisionEnter(info : Collision){
	if ("Player"){


Nothing wrong with the code that I could see.

There might be other issues. Some common issues you should check for are:

  1. Your Player object name might be different, even case sensiticity.
  2. You have not included the scene 1 in your build settings.
  3. There are no colliders attached to any one or both of your colliding objects.
  4. At least one object needs to have rigidbody on it for collision to occur.