AvatarMask 用于屏蔽人形角色身体部位和变换组件。
可在导入动画时或者在动画控制器层中加以使用。
| transformCount | 变换组件数量。 |
| AvatarMask | 创建一个新的 AvatarMask。 |
| AddTransformPath | 将变换组件路径添加到 AvatarMask 中。 |
| GetHumanoidBodyPartActive | 如果给定索引处的人形角色身体部位生效,则返回 true。 |
| GetTransformActive | 如果给定索引处的变换组件生效,则返回 true。 |
| GetTransformPath | 返回给定索引处的变换组件的路径。 |
| RemoveTransformPath | 将变换组件路径从 AvatarMask 移除。 |
| SetHumanoidBodyPartActive | 将给定索引处的人形角色身体部位设置为生效或不生效。 |
| SetTransformActive | 将给定索引处的变换组件设置为生效或不生效。 |
| SetTransformPath | 设置给定索引处的变换组件的路径。 |
| GetInstanceID | Gets the instance ID of the object. |
| ToString | 返回对象的名称。 |
| Destroy | 移除 GameObject、组件或资源。 |
| DestroyImmediate | 立即销毁对象 /obj/。强烈建议您改用 Destroy。 |
| DontDestroyOnLoad | 在加载新的 Scene 时,请勿销毁 Object。 |
| FindAnyObjectByType | Retrieves any active loaded object of Type type. |
| FindFirstObjectByType | Retrieves the first active loaded object of Type type. |
| FindObjectOfType | 返回第一个类型为 type 的已加载的激活对象。 |
| FindObjectsByType | Retrieves a list of all loaded objects of Type type. |
| FindObjectsOfType | Gets a list of all loaded objects of Type type. |
| Instantiate | 克隆 original 对象并返回克隆对象。 |
| bool | 该对象是否存在? |
| operator != | 比较两个对象是否引用不同的对象。 |
| operator == | 比较两个对象引用,判断它们是否引用同一个对象。 |