Class Toggle
A base (blank) toggle that implements IColorHook (See ToggleSprite logic).
Inheritance
System.Object
UnityEngine.Object
UnityEngine.Component
UnityEngine.Behaviour
UnityEngine.MonoBehaviour
UnityEngine.EventSystems.UIBehaviour
UnityEngine.UI.Selectable
UnityEngine.UI.Toggle
Toggle
Implements
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 SourceIsInitialized
Declaration
protected bool IsInitialized
Field Value
Type | Description |
---|---|
System.Boolean |
Timer
Declaration
protected PomodoroTimer Timer
Field Value
Type | Description |
---|---|
PomodoroTimer |
Methods
| Improve this Doc View SourceColorUpdate(Theme)
Declaration
public virtual void ColorUpdate(Theme theme)
Parameters
Type | Name | Description |
---|---|---|
Theme | theme |
Initialize(PomodoroTimer)
Declaration
protected void Initialize(PomodoroTimer pomodoroTimer)
Parameters
Type | Name | Description |
---|---|---|
PomodoroTimer | pomodoroTimer |
OnDestroy()
Declaration
public void OnDestroy()