文档

Unity Engine

Unity Engine

RemoveTransformPath

Removes a transform path from the AvatarMask.
阅读时间1 分钟最后更新于 1 个月前

Definition

  • Type: Method
  • Namespace: UnityEngine
  • Assembly: UnityEngine.AnimationModule

RemoveTransformPath(Transform)

Removes a transform path from the AvatarMask.
public void RemoveTransformPath(Transform transform)

Parameters

transform

The Transform that should be removed from the AvatarMask.

Remarks

If there is no transform path matching transform nothing will be removed.

RemoveTransformPath(Transform, bool)

Removes a transform path from the AvatarMask.
public void RemoveTransformPath(Transform transform, bool recursive)

Parameters

transform

The Transform that should be removed from the AvatarMask.

recursive

Whether to also remove all children of the specified transform.

Remarks

If there is no transform path matching transform nothing will be removed.