using UnityEngine;
using System.Collections;
public class NumberWizard : MonoBehaviour {
void Start () {
print ("Welcome to Number Wizard");
print ("Pick a number in your head but don't tell me");
int max = 1000;
int min = 1;
print ("The highest you can pick is " + max);
print ("The lowest you can pick is " + min);
print ("Is your number higher than 500?");
print ("Up arrow for higher, down for lower, return for equals");
}
void Update () {
if (Input.GetKeyDown(KeyCode.UpArrow)) {
print ("Up arrow Pressed");
}
{
if (Input.GetKeyDown(KeyCode.DownArrow)) {
print ("Down arrow Pressed");
}
}
Assets/Scripts/NumberWizard.cs(30,9): error CS8025: Parsing error
I simply do not understand what I have wrong. I get that it says it’s on line 30 but what is it?