Version: 2021.3

Animator.GetBoneTransform

切换到手册
public Transform GetBoneTransform (HumanBodyBones humanBoneId);

参数

humanBoneId 查询的人形骨骼,请参阅枚举 HumanBodyBones 获取可能值的列表。

描述

Returns Transform mapped to this human bone id. Returns null if the animator is disabled, if it does not have a human description, or if the bone id is invalid.