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;
Debug.Log("Reloading...");
yeild return new WaitForSeconds(reloadTime);
Mission();
currentAmmo = maxAmmo;
isReloading = false;
}