Skip to content

ISaveUpgrader

namespace Griff.Runtime;
public interface ISaveUpgrader

A system that brings games saved by an earlier version of the game up to date as they’re loaded: each one added (AddSystem, from the title screen’s script or wherever games are loaded) is handed every saved game whose Version is lower than SaveVersion, before it’s read.

public abstract void UpgradeSave(SaveUpgrade save)

Changes save to suit this version of the game; Version says which it was saved by.