Rigged characters in game?

I’m trying to write a gun script that makes it so that the player’s hands are place on the gun based on predefined points. This way I can just change the predefined points. It works in the sense that it moves the hands to the locations… and just the hands. See what I mean here: http://puu.sh/1v43H

Now I believe this can be fixed by rigging the character so that when their hand moves, it’ll move all of the bones with it. I’m hoping there’s something like that in Unity so that when I move a hand the rest of the arm moves with the character.

It’d be great if there was another simpler way though. Here’s how the character hierarchy looks like: http://puu.sh/1v4fO

Thanks!

does it has animations?

Yes, it has animations. I’m using the example model and some of the scripts from Unity’s Locomotion Engine.

What about using IK in Mecanim? (if you’ve got Pro)

Unfortunately I do not have pro. I was taking a look at the Locomotive system however and it seems that it animates the feet some. I’m wondering if I could create a script like that… Or something else that’s way easier.