How to merge parts of a character?

I have a 3D model of a character and would like to connect the meshes so I can sellect it by itself fro my coding. How can I do this?

You create a parent GameObject ("GameObject"->"Create Empty") and drag all the different parts into it.