make player turn only 90 degree increments

Is there an easy way to make the player only turn in 90 degree increments (I only want it to travel n,w,s,e)

http://forum.unity3d.com/threads/66648-How-to-Rotate-or-90-degrees-each-time-a-button-is-pressed