A static utility class to work with toggle values.
More...
|
static bool | GetNewValue (bool oldValue, Toggle state) |
| Returns the new value of a bool after applying a toggle.
|
|
A static utility class to work with toggle values.
◆ GetNewValue()
static bool PixelCrushers.DialogueSystem.ToggleUtility.GetNewValue |
( |
bool |
oldValue, |
|
|
Toggle |
state |
|
) |
| |
|
inlinestatic |
Returns the new value of a bool after applying a toggle.
- Returns
- The new value.
- Parameters
-
oldValue | The original value to toggle. |
state | The toggle to apply. |
The documentation for this class was generated from the following file:
- C:/Dev/Dialogue System/Dev/Release2/Assets/Plugins/Pixel Crushers/Dialogue System/Scripts/Utility/ToggleUtility.cs