Move the Camera with a button

I’m a noob trying to get some “building block” techniques down so I can start learning JS syntax and Unity functionailty.

What I’m trying to do now is:

I have a row of buttons set up in 3d space (using box coliders and an OnMouseUp function). I want the buttons to add or subtract Y transform values from the MainCamera object but I just don’t know what to type in to the

function OnMouseUp ()
{
	
}

any help would be greatly apreciated.

Thanks in advance.
Ben

Never mind - I found a snippet http://www.unifycommunity.com/wiki/index.php?title=SmoothFollow2.