rotate camera around an object unity code example
Example 1: how to rotate object unity
public Transform Position; // make reference in inspector
Position.Rotate(x, y, z);
Example 2: unity rotate object relative to camera
transform.rotation = Quaternion.LookRotation(-Camera.main.transform.forward, Camera.main.transform.up);