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