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