IEnumerator ProcessAmmo(Ammo ammo) { yield return(new WaitForSeconds(0.5f)); Debug.Log("Ammo Released!"); ammo.DestroySelf(); ammoGenerated = false; }