Show / Hide Table of Contents

Class SettingsOptionDropdown

A base class ThemeElement that has a label with a Dropdown intended to be used as a settings option on the SettingsPage.

Inheritance
System.Object
UnityEngine.Object
UnityEngine.Component
UnityEngine.Behaviour
UnityEngine.MonoBehaviour
ThemeElement
SettingsOptionDropdown
OptionDigitFormat
OptionPomodoroCount
OptionSetAlarmSound
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 SettingsOptionDropdown : ThemeElement, IColorHook

Fields

| Improve this Doc View Source

m_dropdown

Declaration
[SerializeField]
protected Dropdown m_dropdown
Field Value
Type Description
Dropdown

Methods

| Improve this Doc View Source

ColorUpdate(Theme)

Applies our Theme changes to our referenced components when necessary.

Declaration
public override void ColorUpdate(Theme theme)
Parameters
Type Name Description
Theme theme

The theme to apply on our referenced components.

Overrides
ThemeElement.ColorUpdate(Theme)
| Improve this Doc View Source

SetDropdownValue(Int32)

Set the dropdown selection to the provided index value.

Declaration
public void SetDropdownValue(int selectionValue)
Parameters
Type Name Description
System.Int32 selectionValue

Implements

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