Level progressing system is giving me errors.

I’m trying to make a game where my levels are triggered based on if my player object(and only my player object) is touching the specific trigger. But, my code is giving me errors. Help?

`using UnityEngine;
using System.Collections;

public class LevelProgress : MonoBehaviour
{
public GameObject LevelProgressor;
void OnTriggerEnter(Collider other)
{
if(other.GetComponent = LevelProgressor)
{
Application.LoadLevel(“jetbikeTutorial2”);
}
}
}’

public class LevelProgress : MonoBehaviour
{
public GameObject LevelProgressor;

    void OnTriggerEnter(Collider other) 
    { 
        if(other.GetComponent = LevelProgressor)
        { 
            Application.LoadLevel("jetbikeTutorial2"); 
        }
     }
 }

There thats better :wink:

A few ways to do this, my way would be to make a tag player, and assign it to player gameobject.

and then use:

if(other.tag == "Player")
{
//do stuff
}