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
Ghost
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
|
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
|
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
|
Improve this Doc
View Source
StateUpdate(PomodoroTimer.States, Theme)
Declaration
public void StateUpdate(PomodoroTimer.States state, Theme theme)
Parameters
|
Improve this Doc
View Source
Update()
Declaration
protected virtual void Update()
Implements