unity rotate y axis to mouse code example Example: unity rotate around axis transform.Rotate(axis, degrees);