Forum Discussion
11 years ago
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
"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
1 Reply
Replies have been turned off for this discussion
- kideternalProtegeLines 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.
Quick Links
- Horizon Developer Support
- Quest User Forums
- Troubleshooting Forum for problems with a game or app
- Quest Support for problems with your device