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