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_name | type | description |
|---|---|---|
| path | string | The path. |
| mask | Boolean | The active state. |
Return
| type | description |
|---|---|
void |
Code Example
typescript
let uuid = "B7C290F534D8456601A72E000D30C9B5";
let mask = Resources.Load<AnimationMask>(AnimationMask, uuid);
mask.GetMaskByPath("path",true);