SetSlotStatusFromManagerType

HiddenWearableManager.SetSlotStatusFromManagerType

Declaration public void SetSlotStatusFromManagerType(ManagerType _managerType);

Parameters

Parameter
Description

ManagerType _managerType

The type of Manager your character uses: Destructive, Non-Destructive or Selective

Description The public function to set the slot bools according to the specified manager type. Selective slots are set with the slotBool array parameter. If the manager is Destructive, all slotBool values will be set to false. If the manager is Non-Destructive, all slotBool values will be set to true.

For Selective Managers, set a slot to true to make it Non-Destructive, by using the following code. In this example, we are setting the slot index to be for the chest slot and setting it to true:

ModularCharacterManager myCharacter;

myCharacter.hiddenWearableManager.slotBool[WearableIndices.chestIndex] = true;

Last updated