What it does
saveSystem.autoSave takes data. data is optional.
Signature
saveSystem.autoSave(data?)Arguments
dataoptional
Example · generated
function start() { saveSystem.autoSave({});}saveSystem.autoSave 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.