I have seen countless forums and such covering it, and I have done it before but recently I overwrite the cursor file with some other script and have tried entering codes like
Screen.showCursor = false;
and
void Start ()
{
Screen.showCursor = false;
}
I think I am doing it wrong as I just seem to be pasting them straight into a completely empty C# or javascript script, I can’t even attach them to an object in game as it just says there is a parsing error or some other type of error so I have to finish the compilation before adding the script to an object.
Please please help