Format
typescript
AnimationMask.SetMask(name, mask)class: AnimationMask
Description
Set the activity state of the specified bone in the mask by its name.
Parameters
| param_name | type | description |
|---|---|---|
| name | string | The name of the bone. |
| mask | Boolean | The activity state. |
Return
| type | description |
|---|---|
void |
Code Example
typescript
let uuid = "B7C290F534D8456601A72E000D30C9B5";
let mask = Resources.Load<AnimationMask>(AnimationMask, uuid);
mask.SetMask("name",true);