LanguageEnglish
  • C#
  • JS

Script language

Select your preferred scripting language. All code snippets will be displayed in this language.

This version of Unity is unsupported.

AvatarMask.SetHumanoidBodyPartActive

Switch to Manual
public void SetHumanoidBodyPartActive(AvatarMaskBodyPart index, bool value);

Parameters

indexThe index of the humanoid body part.
valueActive or not.

Description

Sets the humanoid body part at the given index to active or not.