Skip to content

SaveWriter

namespace Griff.Runtime;
public sealed class SaveWriter

What a script that saves its own model (ISavesState) writes into a saved game.

public void Set<T>(string name, T? value)

Saves value as name, replacing what was there. Something that can’t be saved (a delegate, a coroutine) is left out, and said once.