This video goes over how to rig your model in blender and export to Unity. Not a nice looking model, but shows the method. Note that I forgot to say you have to subdivide the bones and add armature in order to get proper mappings to named bones in rigify.