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