Cursor

var curseur : Texture2D;

function Start() {
    Screen.showCursor = false; 
}

function OnGUI() {
    var positionSouris : Vector3 = Input.mousePosition;
    var positionCurseur : Rect = Rect(positionSouris.x,Screen.height - positionSouris.y,curseur.width,curseur.height);
    GUI.Label(positionCurseur,curseur);
}

please, my problem is that when i put this script in the main camera, the variable of curseur doesn’t show so i can’t put my cursor picture over there, i even tried with the type of “Texture” but still not working, none of types work even if i’ve already made it work , please need help ! :frowning:

I do absolutely no scripting, but is it ok to mix languages?