Table of Contents

Interface ISaveable

Namespace
Fallencake.UI
Assembly
Fallencake.UI.dll
public interface ISaveable

Properties

IsSavingEnabled

Enables save/load behavior for the component.

bool IsSavingEnabled { get; set; }

Property Value

bool

SaveKey

PlayerPrefs key used to persist the state.

string SaveKey { get; set; }

Property Value

string

Methods

LoadState()

Loads component state from persistent storage.

void LoadState()

SaveState()

Saves component state to persistent storage.

void SaveState()