unity rotate around a point code example
Example 1: unity rotate towards
Quaternion.RotateTowards(Quaternion from, Quaternion to, float maxDegreesDelta);
Example 2: unity rotate around axis
transform.Rotate(axis, degrees);
Example 3: unity rotate around point
transform.RotateAround(point, axis, degrees);