How can apply the climb animation to player?

i want to apply climb animation to my character.already i have climb animation clip but i don’t know how can i apply to my character it means when i press the key it should start the climb on building.if any one have any script or tutorial so please share with me.

Check:

3rd Person Ladder/Wall Climb Script

climb a ladder. How to do?

And a simple Google Search for “ladder climbing unity tutorial” reveals:

Unity Tutorials: Ladders

and a lot more…

Following is unity Mecanim animation tutorial

https://www.youtube.com/watch?v=Xx21y9eJq1U

So to climb a building what you have to do is play the climb animation and then move the character accordingly using code.