Ejemplo n.º 1
0
        private Transform GetBoneTransform(Animator animator, HumanBodyBones bone)
        {
            var obj = animator.gameObject;

            if (!HumanBodyBonesMappingTable.Table.ContainsKey(bone))
            {
                return(null);
            }
            return(BoneMount.FindChildBone2(obj, HumanBodyBonesMappingTable.Table[bone]));
        }