What it does
saveSystem.deleteSlot deletes Slot on a saveSystem object. It takes name.
Signature
saveSystem.deleteSlot(name)Arguments
name
Example · generated
function start() { saveSystem.deleteSlot('main');}saveSystem.deleteSlot is called with values of the shape its signature asks for. The code sits in start(), which the engine calls once, when the entity spawns.