Access Object Size Values

When I create a probuilder game object the inspector displays the Pb_Object script size XYZ values. How do I access these values from another script attached to the same game object?

void Update () {

BuildingX = gameObject.GetComponent<pb_Object>().???

}
6919877--811706--upload_2021-3-10_10-25-5.png

1 Like

gameObject.GetComponent().bounds.size