Show / Hide Table of Contents

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
ThemeElement
SettingsOptionToggleSlider
OptionEnableLongBreaks
OptionMuteAudioOutOfFocus
OptionUnityAnalytics
Implements
IColorHook
Inherited Members
ThemeElement.Timer
ThemeElement.Initialize(PomodoroTimer, Boolean)
ThemeElement.IsInitialized()
ThemeElement.OnDestroy()
Namespace: AdrianMiasik.Components.Base
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
Type Description
ToggleSlider

Methods

| Improve this Doc View Source

ColorUpdate(Theme)

Declaration
public override void ColorUpdate(Theme theme)
Parameters
Type Name Description
Theme theme
Overrides
ThemeElement.ColorUpdate(Theme)
| Improve this Doc View Source

Initialize(PomodoroTimer)

Declaration
public virtual void Initialize(PomodoroTimer pomodoroTimer)
Parameters
Type Name Description
PomodoroTimer pomodoroTimer
| 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

IColorHook
  • Improve this Doc
  • View Source
In This Article
Back to top Generated by DocFX