Question by
Devistute · Dec 11, 2015 at 07:10 PM ·
parsing error
Parsin Error (C#)
Could anyone shed some light, that what the ef is wrong with this script?
using UnityEngine;
public class OpenSettings : MonoBehaviour {
public settingsMenu menuScript;
public void OnMouseDown()
{
menuScript.OpenQualitySettings();
}
Ive been fighting this script for 4 hours, and simply cannot figure out what is the problem. OpenSettings is the name of script.
Comment
Best Answer
Answer by tanoshimi · Dec 11, 2015 at 07:13 PM
You're missing a closing } at the end of the class...
Yeah, now it works. But now it says i cannot find the classes "OpenQualitySettings" from settings Script. Turns out every script my project has, magickly went $$anonymous$$ISSING. Reimporting all. Hopefully fixes it.
Your answer
Follow this Question
Related Questions
parsing error 1 Answer
Invalid PBX project - iOS Build Help! 2 Answers
error CS8025: Parsing error 1 Answer
Parsing error 1 Answer