Parser Error: Unexpected Symbol?

void Update () {
	if (Input.GetKeyDown(KeyCode.Space)){
	text.text = "You find yourself locked in a dark prison" +
				 " as you look around the only thought that comes to your head is your name" +
				 ", Will Murphy. \n\n"
				 "Press R to view the room, S to view your bed, and E to attempt to find a way out";

It is underlining “Press” in press R…
Also I keep getting an error saying something about my preferences and asking me to change my current writing or continue using this format.

1 Like

I found the mistake, was missing a +.

But this is the error I cant make sense of:
The file “X:\UnityProjects\Prison\Assets\TextScript.cs” has line endings which differ from the policy settings.
Do you want to convert the line endings?

1 Like

Here is the same question was asked earlier:

1 Like

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.

Privacy & Terms