Show / Hide Table of Contents

Class Background

A ThemeElement image used to pull focus off selected elements. The background is our default selection for Unity's EventSystem.

Inheritance
System.Object
UnityEngine.Object
UnityEngine.Component
UnityEngine.Behaviour
UnityEngine.MonoBehaviour
ThemeElement
Background
Implements
IColorHook
Inherited Members
ThemeElement.Timer
ThemeElement.IsInitialized()
ThemeElement.OnDestroy()
Namespace: AdrianMiasik.Components.Specific
Assembly: Assembly-CSharp.dll
Syntax
public class Background : ThemeElement, IColorHook

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

Initialize(PomodoroTimer, Boolean)

Declaration
public override void Initialize(PomodoroTimer pomodoroTimer, bool updateColors = true)
Parameters
Type Name Description
PomodoroTimer pomodoroTimer
System.Boolean updateColors
Overrides
ThemeElement.Initialize(PomodoroTimer, Boolean)
| Improve this Doc View Source

Select()

Sets the UnityEngine.EventSystems current selection to this background.

Declaration
public void Select()
| Improve this Doc View Source

SetSelectionNavigation(Navigation)

Sets our background's selection navigation to the provided UnityEngine.UI.Navigation. Intended to change focus to our digits when attempting to select left / right from the background.

Declaration
public void SetSelectionNavigation(Navigation backgroundNav)
Parameters
Type Name Description
UnityEngine.UI.Navigation backgroundNav

Implements

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