Modular Character System
  • Overview
  • Setup
  • Demo Scenes
  • System Overview
    • Modular Character
    • Wearable
    • Wearable Set
      • Character Preset
      • Wearable Set Data
    • Wearable Database
    • Character Style
    • Cosmetic Styles
      • Skin Style
      • Eye Style
    • Character Morphs
  • Troubleshooting
  • Asset Updates
  • Reference
    • Scripting Guide
      • Modular Character Manager Functions
        • Wearables
          • EquipWearable
          • RemoveWearable
        • Wearable Sets
          • EquipWearableSet
          • EquipWearablePreset
          • RevertSetToDefaults
          • GenerateRandomSetFromDatabase
        • Materials
          • SetWearableMaterial
          • SetWearableMaterialArray
          • SetEyeStyle
          • SetSkinStyle
          • SetBodyMaterial
          • SetFaceMaterial
          • SetEyeMaterial
        • Character Morphs
          • SetBlendshapeOnAllMeshes
          • UpdateSetMorphValues
          • ApplySetMorphValuesToCurrentSet
          • ApplyCurrentMorphValuesToNew...
        • Face Merging
          • MergeFace
          • UnmergeFace
          • DestroyMergedFace
        • Saving and Loading
          • SaveCharacterPrefab
          • SaveCharacterPreset
          • SaveDataAsJSON
          • LoadCharacterFromJSON
      • Character Style Functions
        • GetAllWearablesOfCategory
        • GetAllNonDefaultWearablesOfCategory
        • GetWearableByName
        • CheckIfDefaultItem
      • Hidden Wearable Manager Functions
        • SetSlotStatusFromManagerType
        • AddWearableSlotToHiddenList
        • CheckHiddenListForWearable
  • Changelog
  • EXTERNAL LINKS
    • Stellar Game Assets Website
    • Join me on Discord
Powered by GitBook
On this page
  1. Reference
  2. Scripting Guide
  3. Hidden Wearable Manager Functions

AddWearableSlotToHiddenList

HiddenWearableManager.AddWearableSlotToHiddenList

Declaration public void AddWearableSlotToHiddenList(WearableSlot _wearableSlot);

Parameters

Parameter
Description

WearableSlot _wearableSlot

The Wearable Slot you want to copy the data from to the Hidden Wearable Manager.

Description The public function to add a Wearable to the hidden manager list. The following code demonstrates how to do so. In this example, we are adding the current chest Wearable to the Hidden Wearable Manager:

ModularCharacterManager myCharacter;

WearableSlot chestSlot = myCharacter.currentSet.wearableSlots[WearableIndices.chestIndex];
myCharacter.hiddenWearableManager.AddWearableSlotToHiddenList(chestSlot);

PreviousSetSlotStatusFromManagerTypeNextCheckHiddenListForWearable

Last updated 2 months ago