Class SkipButton
A ThemeElement button used for skipping / auto-completing the timer. Implements ITimerState to show / hide itself depending if the timer has been started / not started.
Inheritance
System.Object
UnityEngine.Object
UnityEngine.Component
UnityEngine.Behaviour
UnityEngine.MonoBehaviour
SkipButton
Namespace: AdrianMiasik.Components.Specific
Assembly: Assembly-CSharp.dll
Syntax
public class SkipButton : ThemeElement, IColorHook, ITimerState
Methods
| Improve this Doc View SourceColorUpdate(Theme)
Declaration
public override void ColorUpdate(Theme theme)
Parameters
Type | Name | Description |
---|---|---|
Theme | theme |
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 SourceStateUpdate(PomodoroTimer.States, Theme)
Declaration
public void StateUpdate(PomodoroTimer.States state, Theme theme)
Parameters
Type | Name | Description |
---|---|---|
PomodoroTimer.States | state | |
Theme | theme |