PixelCrushers.DialogueSystem.ToggleUtility Class Reference

A static utility class to work with toggle values. More...

Static Public Member Functions

static bool GetNewValue (bool oldValue, Toggle state)
 Returns the new value of a bool after applying a toggle.
 

Detailed Description

A static utility class to work with toggle values.

Member Function Documentation

◆ 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
oldValueThe original value to toggle.
stateThe toggle to apply.

The documentation for this class was generated from the following file: