Reset Rotation or Store Rotation

Is there a way to setup a rotation reset? So when the game starts it stores the rotation then when playing you can click a button and have it reset back to the original rotation? I'm sure this is easy and I'm just going crazy.

Create a variable named (e.g.) 'originalRotation'. In the Start() function for the script, write:

originalRotation = transform.rotation;

Then, in response to the button click (or whatever event you prefer), do this:

transform.rotation = originalRotation;