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
    
    Background
  Implements
Namespace: AdrianMiasik.Components.Specific
Assembly: Assembly-CSharp.dll
Syntax
public class Background : ThemeElement, IColorHookMethods
| 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 SourceInitialize(PomodoroTimer, Boolean)
Declaration
public override void Initialize(PomodoroTimer pomodoroTimer, bool updateColors = true)Parameters
| Type | Name | Description | 
|---|---|---|
| PomodoroTimer | pomodoroTimer | |
| System.Boolean | updateColors | 
Overrides
| Improve this Doc View SourceSelect()
Sets the UnityEngine.EventSystems current selection to this background.
Declaration
public void Select()SetSelectionNavigation(Navigation)
Sets our background's selection navigation to the provided UnityEngine.UI.Navigation.
Declaration
public void SetSelectionNavigation(Navigation backgroundNav)Parameters
| Type | Name | Description | 
|---|---|---|
| UnityEngine.UI.Navigation | backgroundNav |