Script to hide cursor

Is there as script so my crosshair follows the cursor but the cursor doesn’t show up

var cursorTexture : Texture2D;
var cursorSize : Vector2; // make sure to set the size of your cursor in the inspector.

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


function OnGUI(){
    GUI.DrawTexture (Rect(Input.mousePosition.x-cursorSize.x/2, (Screen.height-Input.mousePosition.y)-cursorSize.y/2, cursorSizeX, cursorSizeY),cursorTexture);
}