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