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