Skip to content

Format

typescript
AnimationMask.GetMaskByPath(value)

class: AnimationMask

Description

Get whether the specified path of the skeleton is active in the mask.

The path is separated by "/".

Parameters

param_nametypedescription
valuestring

Return

typedescription
BooleanWhether it is active

Code Example

typescript
let uuid = "B7C290F534D8456601A72E000D30C9B5";
let mask = Resources.Load<AnimationMask>(AnimationMask, uuid);
mask.GetMaskByPath("path");