UnityEngine.Animator.GetBoneTransform C# (CSharp) Method

GetBoneTransform() public method

public GetBoneTransform ( HumanBodyBones humanBoneId ) : Transform
humanBoneId HumanBodyBones
return Transform
		public Transform GetBoneTransform(HumanBodyBones humanBoneId){}
		public static int StringToHash(string name){}

Usage Example

Example #1
1
 void Start()
 {
     animator = GetComponent<Animator>();
     bone1 = animator.GetBoneTransform(HumanBodyBones.LeftFoot);
     bone2 = animator.GetBoneTransform(HumanBodyBones.RightFoot);
     shadow = transform.FindChild("Shadow");
     tr = transform;
 }
All Usage Examples Of UnityEngine.Animator::GetBoneTransform
Animator