i keep geting this Assets/Standard Assets/MenuObject.cs.cs(4,1): error CS8025: Parsing error
this my code
using UnityEngine;
using System.Collections ;
; public class MenuObject; MonoBehaviour ;
{
public bool isQuit = false ;
void OnMouseEnter() ;
{
Renderer.material.color = Color.red ;
}
void OnMouseExit() ;
{
Renderer.material.color = Color.white ;
}
void OnMouseDown() ;
{
if(isQuit) ;
{
Application.Quit() ;
{
else;
{
Application.LoadLevel(1) ;
}
}
}
Dupe’d here.
If you're going to post the same code in another question, then you should accept an answer for the other question you asked.
– almo