Unity Rotate around the real center

Code Example - Unity Rotate around the real center

                
                        Vector3 position = myGameObject.GetComponent<Renderer>().bounds.center;

myGameObject.transform.RotateAround(position, rotationVector, degreesPerSecond * Time.deltaTime);