Hey I need help with this code.

So I am just starting to try and make my first ever game so I am copying off this guy on youtube for reloading and I have an Error CS1002 ; expected for 44,9 which would be the “yeild return new WaitForSeconds” but I already have an ; so I am comfused what to do.

IEnumerator Reload () {

		isReloading = true;


		yeild return new WaitForSeconds(reloadTime);

		currentAmmo = maxAmmo;
		isReloading = false;

What program are you using?

Visual studio? Im sure there is a red line under yeild , because its yield