Click or drag to resize

BooleanSwitch Class

Data provider which chooses one of two options depending on a provided boolean value.

Input: Boolean (Switch).

Output: Object (Chosen data).

Inheritance Hierarchy
SystemObject
  UnityEngineObject
    UnityEngineComponent
      UnityEngineBehaviour
        UnityEngineMonoBehaviour
          Slash.Unity.DataBind.Core.PresentationDataBindingOperator
            Slash.Unity.DataBind.Core.PresentationDataProvider
              Slash.Unity.DataBind.Foundation.Providers.SwitchesBooleanSwitch

Namespace:  Slash.Unity.DataBind.Foundation.Providers.Switches
Assembly:  Assembly-CSharp (in Assembly-CSharp.dll) Version: 0.0.0.0
Syntax
public class BooleanSwitch : DataProvider

The BooleanSwitch type exposes the following members.

Constructors
  NameDescription
Public methodBooleanSwitch
Initializes a new instance of the BooleanSwitch class
Top
Properties
Methods
Fields
  NameDescription
Public fieldOptionFalse
Data to use if switch is false.
Public fieldOptionTrue
Data to use if switch is true.
Public fieldSwitch
Switch to decide which option to use.
Top
See Also