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