about transform.Rotate

I placed two colliders that will limit the player, and when the player colide, it’ll rotate to the other side and so do not overpass the limit. What is the code to make the character rotate witha defined value of ratation?

transform.Rotate (x,y,z)

I discovered, you can disconsider this thread