Show / Hide Table of Contents

Class Ghost

A base class that is intended to be used on any component/class that needs fade in and out ThemeIcon's and text.

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

Fields

| Improve this Doc View Source

m_fadeProgress

Declaration
[SerializeField]
protected float m_fadeProgress
Field Value
Type Description
System.Single
| Improve this Doc View Source

m_icon

Declaration
[SerializeField]
protected ThemeIcon m_icon
Field Value
Type Description
ThemeIcon
| Improve this Doc View Source

m_text

Declaration
[SerializeField]
protected List<TMP_Text> m_text
Field Value
Type Description
System.Collections.Generic.List<TMPro.TMP_Text>
| Improve this Doc View Source

m_textContainer

Declaration
[SerializeField]
protected CanvasGroup m_textContainer
Field Value
Type Description
UnityEngine.CanvasGroup

Methods

| Improve this Doc View Source

ColorUpdate(Theme)

Declaration
public override void ColorUpdate(Theme theme)
Parameters
Type Name Description
Theme theme
Overrides
ThemeElement.ColorUpdate(Theme)
| Improve this Doc View Source

FadeIn(Boolean)

Declaration
public virtual void FadeIn(bool instantly = false)
Parameters
Type Name Description
System.Boolean instantly
| Improve this Doc View Source

FadeOut(Boolean)

Declaration
public virtual void FadeOut(bool instantly = false)
Parameters
Type Name Description
System.Boolean instantly
| 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

StateUpdate(PomodoroTimer.States, Theme)

Declaration
public void StateUpdate(PomodoroTimer.States state, Theme theme)
Parameters
Type Name Description
PomodoroTimer.States state
Theme theme
| Improve this Doc View Source

Update()

Declaration
protected virtual void Update()

Implements

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