// After delay seconds: Kill all enemies and convert all enemy bullets to score pickups, then collect them private IEnumerator BombEffect(float delay) { yield return(new WaitForSeconds(delay)); StageHandler.KillAllEnemies(); BulletHandler.BulletsToScore(); StageHandler.CollectAllPickups(useConstantScore: true); }