private static void SelectSpringManager(SpringBonePivot pivot)
        {
            var manager = pivot.gameObject.GetComponentInParent <SpringManager>();

            if (manager != null)
            {
                Selection.objects = new Object[] { manager.gameObject };
            }
        }
        private static void SelectBoneFromPivot(SpringBonePivot pivot)
        {
            var pivotTransform = pivot.transform;
            var root           = pivotTransform.root;
            var bonesWithPivot = root.GetComponentsInChildren <SpringBone>(true)
                                 .Where(bone => bone.pivotNode == pivotTransform)
                                 .Select(bone => bone.gameObject);

            if (bonesWithPivot.Any())
            {
                Selection.objects = bonesWithPivot.ToArray();
            }
        }