protected IEnumerator ReloadCoroutine() { slot.Appear(); if (currentGun.currentBullet < currentGun.reloadBullet) { isReload = true; currentGun.currentBullet = 0; yield return(new WaitForSeconds(currentGun.reloadTime)); currentGun.currentBullet = currentGun.reloadBullet; isReload = false; } else { Debug.Log("총알이 최대치입니다."); } }