Class SettingsOptionToggleSlider
A base class ThemeElement that has a label with a boolean slider intended to be used
as a settings option on the SettingsPage.
Inheritance
System.Object
UnityEngine.Object
UnityEngine.Component
UnityEngine.Behaviour
UnityEngine.MonoBehaviour
SettingsOptionToggleSlider
Assembly: Assembly-CSharp.dll
Syntax
public class SettingsOptionToggleSlider : ThemeElement, IColorHook
Fields
|
Improve this Doc
View Source
m_spacer
Declaration
[SerializeField]
public RectTransform m_spacer
Field Value
Type |
Description |
UnityEngine.RectTransform |
|
|
Improve this Doc
View Source
m_toggleSlider
Declaration
[SerializeField]
public ToggleSlider m_toggleSlider
Field Value
Methods
|
Improve this Doc
View Source
ColorUpdate(Theme)
Declaration
public override void ColorUpdate(Theme theme)
Parameters
Type |
Name |
Description |
Theme |
theme |
|
Overrides
|
Improve this Doc
View Source
Initialize(PomodoroTimer)
Declaration
public virtual void Initialize(PomodoroTimer pomodoroTimer)
Parameters
|
Improve this Doc
View Source
OverrideFalseColor(Color)
Declaration
public void OverrideFalseColor(Color backgroundHighlight)
Parameters
Type |
Name |
Description |
UnityEngine.Color |
backgroundHighlight |
|
|
Improve this Doc
View Source
OverrideTrueColor(Color)
Declaration
public void OverrideTrueColor(Color modeOne)
Parameters
Type |
Name |
Description |
UnityEngine.Color |
modeOne |
|
|
Improve this Doc
View Source
Refresh(Boolean)
Declaration
public void Refresh(bool cachedState)
Parameters
Type |
Name |
Description |
System.Boolean |
cachedState |
|
|
Improve this Doc
View Source
UpdateToggle(Boolean)
Declaration
public void UpdateToggle(bool state)
Parameters
Type |
Name |
Description |
System.Boolean |
state |
|
Implements