void DrawSkeletonMap()
        {
            IEnumerable <JointType> activeJoints = jointFieldMap.Keys.Where(k => GetTransformFromField(k) != null);

            EditorGUILayout.Space();
            EditorGUILayout.LabelField("Avatar map", EditorStyles.boldLabel);

            if (skeletonMapper != null)
            {
                skeletonMapper.Draw(activeJoints.ToList());
            }

            GUIContent toObjectGUIContent = EditorGUIUtility.IconContent("SceneViewCamera");

            toObjectGUIContent.text = "Centered in view";

            if (GUILayout.Button(toObjectGUIContent))
            {
                NuitrackAvatar avatar = target as NuitrackAvatar;
                SkeletonUtils.CenteredInView(avatar.transform);
            }

            if (skeletonBonesView != null)
            {
                skeletonBonesView.DrawInspectorGUI();
            }

            EditorGUILayout.Space();

            if (skeletonJointListUI != null)
            {
                Dictionary <JointType, Transform> jointDict = activeJoints.ToDictionary(k => k, v => GetTransformFromField(v));
                skeletonJointListUI.Draw(jointDict);
            }

            EditorGUILayout.Space();
            DrawAutomapTools(activeJoints);
        }