private IEnumerator Pattern1()
    {
        int   bulletsForPattern = 5;
        float secondsPerShot    = 2f;

        for (int i = 0; i < bulletsForPattern; i++)
        {
            GameObject newShot = objectPool.GetBoss2Bullet();
            newShot.transform.position = gameObject.transform.position;
            var shotBehavior = newShot.GetComponent <Boss2Bullet>();
            if (shotBehavior != null)
            {
                shotBehavior.SetBulletDestination(player.transform.position);
                shotBehavior.SetBulletSpeed(0.15f);
            }

            yield return(new WaitForSeconds(secondsPerShot));
        }
    }