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