- Home /
This question was
closed Oct 11, 2018 at 12:08 AM by
BukkitJoe1000 for the following reason:
Other
Question by
BukkitJoe1000 · Oct 25, 2016 at 05:33 AM ·
parsing error
hhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhh
uhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhh
Comment
If that is the whole code, the opening "{" at line 28 is wrong and there are two closing "}" missing at the end,
Answer by tanoshimi · Oct 25, 2016 at 06:35 AM
This line is nonsense:
Ray ray = new Raybarrel.position (transform.forward);
Did you mean:
Ray ray = new Ray(barrel.position, transform.forward);
?
Answer by aditya · Oct 25, 2016 at 07:18 AM
What are those braces for ?.... More importantly that upper one coz that second one may be closing your IF block
Accept if it helps
untitled.png
(33.1 kB)
Follow this Question
Related Questions
Shader Compile Error, Parsing 1 Answer
Error CS8025 1 Answer
CS8025 error on play button 1 Answer
Parsing error -.- 2 Answers
Unexpected "{" and parsing error (roll a ball tutorial) 1 Answer