文档

Unity Engine

Unity Engine

AddTransformPath

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

Definition

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

AddTransformPath(Transform)

Adds a transform path into the AvatarMask.
public void AddTransformPath(Transform transform)

Parameters

transform

The transform to add into the AvatarMask.

AddTransformPath(Transform, bool)

Adds a transform path into the AvatarMask.
public void AddTransformPath(Transform transform, bool recursive)

Parameters

transform

The transform to add into the AvatarMask.

recursive

Whether to also add all children of the specified transform.