AStateValuePresetWhen you only need two states, usually On/Off, Enabled/Disabled, Visible/Hidden
A state is defined by a bool
All types inherit from AToggleState
SetState(bool state, bool immediate = false) to set the state
immediate usually does nothing if the state toggle is instant, but there may be animated implementationsToggleState
ToggleStateObjects in the context menu / Convert to Objects
ToggleStateObjects
ToggleState in the context menu / Convert to Presets
When the number of your states can be more than 2, eg, Unloaded/Loading/Loaded or A/B/C/D
A state is defined by a string
All types inherit from AMultiState
bool SetState(string state, bool immediate = false) to set the state
immediate usually does nothing if the state toggle is instant, but there may be animated implementationsMultiState
MultiStateObject in the context menu / Convert to Objects
MultiStateObject
MultiState in the context menu / Convert to Presets