Skip to content

Format

typescript
AnimationMask.SetMaskByPath(path, mask)

class: AnimationMask

Description

Set the active state of the skeleton at the specified path in the mask.

The path is separated by "/".

Parameters

param_nametypedescription
pathstringThe path.
maskBooleanThe active state.

Return

typedescription
void

Code Example

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