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
SettingsOptionDropdown
Implements
Inherited Members
Namespace: AdrianMiasik.Components.Base
Assembly: Assembly-CSharp.dll
Syntax
public class SettingsOptionDropdown : ThemeElement, IColorHook
Fields
| Improve this Doc View Sourcem_dropdown
Declaration
[SerializeField]
protected Dropdown m_dropdown
Field Value
| Type | Description |
|---|---|
| Dropdown |
Methods
| Improve this Doc View SourceColorUpdate(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
| Improve this Doc View SourceSetDropdownValue(Int32)
Set the dropdown selection to the provided index value.
Declaration
public void SetDropdownValue(int selectionValue)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Int32 | selectionValue |