saveSystem.getSlotInfo

Section: Save Slots

What it does

saveSystem.getSlotInfo reads SlotInfo on a saveSystem object. It takes name.

Signature

saveSystem.getSlotInfo(name)

Arguments

  • name

Example · generated

function update(dt) {  const slotInfo = saveSystem.getSlotInfo('main');}

saveSystem.getSlotInfo is called with values of the shape its signature asks for. The code sits in update(dt), which the engine calls every frame: dt is the time since the last one, in seconds.

8 members in saveSystem