GlobalBool

class GlobalBool : GlobalVariableBase<bool>

A GlobalVariable representing a boolean.

Methods

void Toggle()

void LoadValue(ISavestateReader reader, string key)

Loads the value for this GlobalVariable by using the provided ISavesateReader and key. Override this in a GlobalVariable class to allow it to do so.

void SaveValue(ISavestateWriter writer, string key)

Saves the value of this GlobalVariable by using the provided ISavesateWriter and key. Override this in a GlobalVariable class to allow it to do so.