PixelCrushers.DialogueSystem.ToggleTools 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. More...
 

Detailed Description

A static utility class to work with toggle values.

Member Function Documentation

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

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