private void Update()
    {
        transform.position = Vector3Utility.QuadraticLerp(initialPosition, midPoint, playerPosition, t += speed);

        if (t >= 1 && !waitingForDestroy)
        {
            Destroy(gameObject, 5);
            waitingForDestroy = true;
        }
    }