WeaponManager.Reload_Coroutine C# (CSharp) Method

Reload_Coroutine() private method

private Reload_Coroutine ( ) : IEnumerator
return IEnumerator
    private IEnumerator Reload_Coroutine()
    {
        Debug.Log("Reloading...");

        isReloading = true;

        CmdOnReload();

        yield return new WaitForSeconds(currentWeapon.reloadTime);

        currentWeapon.bullets = currentWeapon.maxBullets;

        isReloading = false;
    }