Show / Hide Table of Contents

Class Toggle

A base (blank) toggle that implements IColorHook (See ToggleSprite logic). Intended to be used by ToggleSlider and ThemeElement

Inheritance
System.Object
UnityEngine.Object
UnityEngine.Component
UnityEngine.Behaviour
UnityEngine.MonoBehaviour
UnityEngine.EventSystems.UIBehaviour
UnityEngine.UI.Selectable
UnityEngine.UI.Toggle
Toggle
ToggleSlider
ToggleSprite
Implements
IColorHook
Namespace: AdrianMiasik.Components.Base
Assembly: Assembly-CSharp.dll
Syntax
public class Toggle : Toggle, IMoveHandler, IPointerDownHandler, IPointerUpHandler, IPointerEnterHandler, IPointerExitHandler, ISelectHandler, IDeselectHandler, IPointerClickHandler, ISubmitHandler, IEventSystemHandler, ICanvasElement, IColorHook

Fields

| Improve this Doc View Source

IsInitialized

Declaration
protected bool IsInitialized
Field Value
Type Description
System.Boolean
| Improve this Doc View Source

Timer

Declaration
protected PomodoroTimer Timer
Field Value
Type Description
PomodoroTimer

Methods

| Improve this Doc View Source

ColorUpdate(Theme)

Declaration
public virtual void ColorUpdate(Theme theme)
Parameters
Type Name Description
Theme theme
| Improve this Doc View Source

Initialize(PomodoroTimer)

Declaration
protected void Initialize(PomodoroTimer pomodoroTimer)
Parameters
Type Name Description
PomodoroTimer pomodoroTimer
| Improve this Doc View Source

OnDestroy()

Declaration
public void OnDestroy()

Implements

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