What is wrong in this source code? How do I fix this parse error?
Error Message:
Assets/Scripts/NumberWizard.cs(40,22): error CS8025: Parsing error
Source Code:
using UnityEngine;
using System.Collections;
public class NumberWizard : MonoBehaviour {
// Use this for initialization
void Start ()
{
print ("Welcome to NumberWizard!");
print ("Pick a number in your head, but dont tell me.");
int maximum = 1000;
int minimum = 1;
print ("The highest number you can pick is" + maximum);
print ("The lowest number you can pick is" + minimum);
print ("Is the number higher or lower than 500?");
print ("Press UP for higher, DOWN for lower, and RETURN for equals to 500.");
}
// Update is called once per frame
void Update (){
if (Input.GetKeyDown(KeyCode.UpArrow))
{
print ("You pressed UP");
}
if (Input.GetKeyDown(KeyCode.DownArrow))
{
print ("You pressed DOWN");
}
}