Climbable ladder for 2D game

Hi, I'm making a Super Mario style game. I'm just wondering how to make the script to climb a ladder (What I had in mind is something like this http://img.photobucket.com/albums/v281/rikku_eternity/ladder.jpg and the character can climb it when player hits up arrow) Sorry if this is such a simple question, I'm new in coding and Unity and javascript seems pretty confusing to me ^^; Thank you very much!

Have you checked out the iTween package?

http://www.pixelplacement.com/iTween/

It makes it super-simple to start simple translation or rotation sequences over a specified amount of time. Of course, you would probably want your character to move his feet and legs as if he is climbing the ladder too, but this should get you started.

-- Glenn

Check out the answer to a very similar question, asking about being able to climb ladders in a 2D game.