GlobalInt
class
GlobalInt : GlobalVariableBase<int>
A GlobalVariable representing an integer.
Methods
void Increment(int amount)
For incrementing or decrementing the value via UnityEvent.
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.