Skip to main content
Up and Coming
March 10, 2015

I need help

I've had a bunch of problems with my script to build my player. I've managed to fix everything except 1 thing. This is the compiling error I am receiving

"Assets/OVR/Scripts/Util/OVRUGUI.cs(293,10): error CS1025: Single-line comment or end-of-line expected"

and this is the last 10 lines of my script, which is line 284-293

284. text.GetComponent<Text>().font = (Font)Resources.Load("DINPro-Bold");
285. new object { {new object{
286.
287. text.transform.parent .transform}
288. .name = "TextBox"}
289.
290. }
291.
292.
293. #endif
    This topic has been closed for replies.

    1 reply

    Up and Coming
    March 10, 2015
    Lines 285 through 290 make absolutely no sense to me, or the compiler. Try removing them?

    Without seeing the rest of the script, there's not much help anyone here will be able to offer.