A static utility class to work with toggle values.
More...
A static utility class to work with toggle values.
◆ GetNewValue()
static bool PixelCrushers.DialogueSystem.ToggleTools.GetNewValue |
( |
bool |
oldValue, |
|
|
Toggle |
state |
|
) |
| |
|
static |
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:
- D:/Documents/Unity Projects/Dialogue System/Dev/Source/Assets/Dialogue System/Scripts/Core/Tools/ToggleTools.cs