,Unity tutorial's script doesn't work!

I’m trying to build a quiz game through unity tutorials in youtube, yet a script that the developer wrote doesn’t work and I can’t understand why. I’m leaving a link below that the developer suggested and additionally I’m writing the errors that unity console gave.

The doesn’t-work script is SimpleObjectPool script.

The errors:
cs(18,40): error cs1026: Unexpected symbol “;” , expecting “)”
cs (18,43): error cs2016: unexpected symbol “)” , expecting “)”
cs(24,8): error cs1525: unexpected symbol “else”
cs(46,38): error cs1026: Unexpected symbol “;” , expecting “)”
cs(46,71): error cs1525: unexpected symbpş “)” , expected “;” or “}”
cs(55,8): cs(24,8): error cs1525: unexpected symbol “else”

Good day.

I didnt saw the video, its unity oficial video I’m 99,99% sure the code works.

The error you saym read what it says, at line 18 of that code, the 4th symbol is a “;” and was expected a “)”

Go look it and come with answer, or show us the script.

Bye

Thanks for your answer but this is not the only error that you talked about :frowning: i have just copied and pasted it but i saw the errors, i don’t know why. The code is in this link: Recorded Video Session: Quiz Game 1 - Unity Learn

and the sub-heading is SimpleObjectPool.