I wanted to make bulletholes and raycast,but this error is annoying,somebody help please im new on this,about 4 days.
thanks
You are missing a closing parenthesis at line 29
There is also an error with Physics_Raycast which should be Physics.Raycast
if (Physics.Raycast(ray, out hit, 100f))
Whenever you got an unexpected symbol error, look for the missing (or spare), symbol.
As stated by @tanoshimi, you should format your code properly next time.
When asking for help, please:
- Format your code properly. Don’t screenshot your code.
- Include the full error message. It would tell us exactly where the error is.
In your case, however, the problem is apparent… I suggest you count how many brackets there are on line 28.
Try removing the empty line 29 and/or put brackets around your Instantiate code line 30.