Hotbar Block

circle-info

Relevant Inventool namespaces:

  • Esper.Inventool.DataManagement

  • Esper.Inventool.Blocks.UGUI

Saving

Use the ToSavable equipment method to convert the data into a savable format.

SavableSlotList savableHotbar = myHotbarBlock.ToSavable();

Use an external save system to save this object. See Example.

Loading

Use the FromSavable hotbar block method and pass the SavableSlotList object to deconvert and set the data.

myHotbarBlock.FromSavable(savableHotbar);

Use an external save system to load this object. See Example.

Last updated