Skip to content

SaveReader

namespace Griff.Runtime;
public sealed class SaveReader

What a script that saves its own model (ISavesState) reads back from a saved game.

public T? Get<T>(string name, T? fallback = null)

The value saved as name, or fallback if there’s none or it isn’t a T (said once).

public bool Has(string name)

True if a value was saved as name.