Unexepted char 0xD

#pragma

var cSpeed: float = 10.0;
var sFactor: float = 10.0;
//Add 1 to score
staticvar playerScore: int = 0;
staticvar enemyScore: int = 0;

function Start ()
{
rb.AddForce (10,0,0);
}

function Update () {

}
Can someone tell me what’s wrong?
Error: Unexepted char 0xD

staticvar → static var ?

0xD = cr carriage return on the end of lines.

did you copy and paste it ? or scripted in another editor besides mono ?

you might try formatting or simply select rewrite the script , there could be a unicode hidden caracter .

edit to add : why is there a #pragma without anything following , i presume thats java , i dont know it but thats also an incomplete pragma directive to me